pythonPackages.libselinux: init
This commit is contained in:
parent
4cd2cb43fb
commit
688bf9db8c
|
@ -4,7 +4,6 @@
|
|||
|
||||
let
|
||||
pyenable = { enablePython = true; };
|
||||
selinuxWithPython = libselinux.override pyenable;
|
||||
cryptsetupWithPython = cryptsetup.override pyenable;
|
||||
in buildPythonPackage rec {
|
||||
pname = "blivet";
|
||||
|
@ -31,7 +30,7 @@ in buildPythonPackage rec {
|
|||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pykickstart pyparted pyblock pyudev selinuxWithPython.py cryptsetupWithPython
|
||||
pykickstart pyparted pyblock pyudev libselinux cryptsetupWithPython
|
||||
six
|
||||
];
|
||||
|
||||
|
|
|
@ -2553,6 +2553,23 @@ in {
|
|||
inherit (pkgs) libsexy pkgconfig;
|
||||
};
|
||||
|
||||
libselinux = pipe pkgs.libselinux [
|
||||
toPythonModule
|
||||
|
||||
(p: p.overrideAttrs (super: {
|
||||
meta = super.meta // {
|
||||
outputsToInstall = [ "py" ];
|
||||
};
|
||||
}))
|
||||
|
||||
(p: p.override {
|
||||
enablePython = true;
|
||||
inherit python;
|
||||
})
|
||||
|
||||
(p: p.py)
|
||||
];
|
||||
|
||||
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
|
||||
|
||||
libthumbor = callPackage ../development/python-modules/libthumbor { };
|
||||
|
|
Loading…
Reference in New Issue