mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
pythonPackages.libselinux: init
This commit is contained in:
parent
4cd2cb43fb
commit
688bf9db8c
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pyenable = { enablePython = true; };
|
pyenable = { enablePython = true; };
|
||||||
selinuxWithPython = libselinux.override pyenable;
|
|
||||||
cryptsetupWithPython = cryptsetup.override pyenable;
|
cryptsetupWithPython = cryptsetup.override pyenable;
|
||||||
in buildPythonPackage rec {
|
in buildPythonPackage rec {
|
||||||
pname = "blivet";
|
pname = "blivet";
|
||||||
@ -31,7 +30,7 @@ in buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pykickstart pyparted pyblock pyudev selinuxWithPython.py cryptsetupWithPython
|
pykickstart pyparted pyblock pyudev libselinux cryptsetupWithPython
|
||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2553,6 +2553,23 @@ in {
|
|||||||
inherit (pkgs) libsexy pkgconfig;
|
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 { };
|
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
|
||||||
|
|
||||||
libthumbor = callPackage ../development/python-modules/libthumbor { };
|
libthumbor = callPackage ../development/python-modules/libthumbor { };
|
||||||
|
Loading…
Reference in New Issue
Block a user