mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
semodule-utils: init at 2.7
This commit is contained in:
parent
5fccac2b8d
commit
5e9aafb316
27
pkgs/os-specific/linux/semodule-utils/default.nix
Normal file
27
pkgs/os-specific/linux/semodule-utils/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchurl, libsepol }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "semodule-utils-${version}";
|
||||
version = "2.7";
|
||||
|
||||
inherit (libsepol) se_release se_url;
|
||||
|
||||
src = fetchurl {
|
||||
url = "${se_url}/${se_release}/${name}.tar.gz";
|
||||
sha256 = "1fl60x4w8rn5bcwy68sy48aydwsn1a17d48slni4sfx4c8rqpjch";
|
||||
};
|
||||
|
||||
buildInputs = [ libsepol ];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SELinux policy core utilities (packaging additions)";
|
||||
license = licenses.gpl2;
|
||||
inherit (libsepol.meta) homepage platforms;
|
||||
maintainers = [ maintainers.e-user ];
|
||||
};
|
||||
}
|
@ -14510,6 +14510,8 @@ with pkgs;
|
||||
|
||||
policycoreutils = callPackage ../os-specific/linux/policycoreutils { };
|
||||
|
||||
semodule-utils = callPackage ../os-specific/linux/semodule-utils { };
|
||||
|
||||
powerdns = callPackage ../servers/dns/powerdns { };
|
||||
|
||||
dnsdist = callPackage ../servers/dns/dnsdist { };
|
||||
|
Loading…
Reference in New Issue
Block a user