libselinux: 2.7 -> 2.9

This commit is contained in:
Luka Blaskovic 2019-08-17 17:49:04 +00:00
parent ca2b2462ed
commit 0278e8387e

View File

@ -9,14 +9,14 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "libselinux";
version = "2.7";
version = "2.9";
inherit (libsepol) se_release se_url;
outputs = [ "bin" "out" "dev" "man" "py" ];
outputs = [ "bin" "out" "dev" "man" ] ++ optional enablePython "py";
src = fetchurl {
url = "${se_url}/${se_release}/libselinux-${version}.tar.gz";
sha256 = "0mwcq78v6ngbq06xmb9dvilpg0jnl2vs9fgrpakhmmiskdvc1znh";
sha256 = "14r69mgmz7najf9wbizvp68q56mqx4yjbkxjlbcqg5a47s3wik0v";
};
nativeBuildInputs = [ pkgconfig ] ++ optionals enablePython [ swig python ];
@ -35,7 +35,8 @@ stdenv.mkDerivation rec {
"MAN3DIR=$(man)/share/man/man3"
"MAN5DIR=$(man)/share/man/man5"
"MAN8DIR=$(man)/share/man/man8"
"PYSITEDIR=$(py)/${python.sitePackages}"
"PYTHON=python"
"PYTHONLIBDIR=$(py)/${python.sitePackages}"
"SBINDIR=$(bin)/sbin"
"SHLIBDIR=$(out)/lib"