Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
688 B · 29 lines
Nix
123456789101112131415161718192021222324252627282930{ lib, buildPythonPackage, fetchFromGitLab, pkg-config, lxml, libvirt, nose }:
buildPythonPackage rec { pname = "libvirt"; version = "9.10.0"; format = "setuptools";
src = fetchFromGitLab { owner = "libvirt"; repo = "libvirt-python"; rev = "v${version}"; hash = "sha256-7qJieTLPzyHvhOLUsti4Mbt94iba2eTZd6OvPn3uLEA="; };
nativeBuildInputs = [ pkg-config ]; buildInputs = [ libvirt lxml ];
nativeCheckInputs = [ nose ]; checkPhase = '' nosetests '';
meta = with lib; { homepage = "https://libvirt.org/python.html"; description = "libvirt Python bindings"; license = licenses.lgpl2; maintainers = [ maintainers.fpletz ]; };}