libselinux: 2.7 -> 2.8
This commit is contained in:
parent
22a8f081ae
commit
8cfc850510
|
@ -9,14 +9,14 @@ with stdenv.lib;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libselinux-${version}";
|
||||
version = "2.7";
|
||||
version = "2.8";
|
||||
inherit (libsepol) se_release se_url;
|
||||
|
||||
outputs = [ "bin" "out" "dev" "man" "py" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "${se_url}/${se_release}/libselinux-${version}.tar.gz";
|
||||
sha256 = "0mwcq78v6ngbq06xmb9dvilpg0jnl2vs9fgrpakhmmiskdvc1znh";
|
||||
sha256 = "1qc7c6lzvhs9sdgqalg1rxni3a88d989hgrw5f8i1kj3fvn9dnri";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ] ++ optionals enablePython [ swig python ];
|
||||
|
@ -35,7 +35,6 @@ stdenv.mkDerivation rec {
|
|||
"MAN3DIR=$(man)/share/man/man3"
|
||||
"MAN5DIR=$(man)/share/man/man5"
|
||||
"MAN8DIR=$(man)/share/man/man8"
|
||||
"PYSITEDIR=$(py)/${python.sitePackages}"
|
||||
"SBINDIR=$(bin)/sbin"
|
||||
"SHLIBDIR=$(out)/lib"
|
||||
|
||||
|
@ -44,6 +43,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installTargets = [ "install" ] ++ optional enablePython "install-pywrap";
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput "${python.sitePackages}" "$py"
|
||||
'';
|
||||
|
||||
meta = removeAttrs libsepol.meta ["outputsToInstall"] // {
|
||||
description = "SELinux core library";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue