3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/semodule-utils/default.nix

28 lines
644 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libsepol }:
2018-09-04 08:35:58 +01:00
stdenv.mkDerivation rec {
pname = "semodule-utils";
version = "3.3";
2018-09-04 08:35:58 +01:00
inherit (libsepol) se_url;
2018-09-04 08:35:58 +01:00
src = fetchurl {
url = "${se_url}/${version}/${pname}-${version}.tar.gz";
sha256 = "0qvhl40a6jlm8p719nnlw2ghlxbh8lxbcsd59azxp884bxgfr61h";
2018-09-04 08:35:58 +01:00
};
buildInputs = [ libsepol ];
makeFlags = [
"PREFIX=$(out)"
2021-01-15 14:45:37 +00:00
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
2018-09-04 08:35:58 +01:00
];
meta = with lib; {
2018-09-04 08:35:58 +01:00
description = "SELinux policy core utilities (packaging additions)";
license = licenses.gpl2;
inherit (libsepol.meta) homepage platforms;
maintainers = [ maintainers.e-user ];
};
}