mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
Merge pull request #71659 from jtojnar/pyselinux
pythonPackages.libselinux: init
This commit is contained in:
commit
471869c918
@ -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
|
||||
];
|
||||
|
||||
|
@ -2573,6 +2573,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
Block a user