Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
673 B
Nix
33 lines
673 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
libsepol,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "semodule-utils";
|
|
version = "3.8.1";
|
|
|
|
inherit (libsepol) se_url;
|
|
|
|
src = fetchurl {
|
|
url = "${se_url}/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-dwWw2wWcU6IdanfAtQ9sRn2RoOqS/4dfHJNSfNJ2I5U=";
|
|
};
|
|
|
|
buildInputs = [ libsepol ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SELinux policy core utilities (packaging additions)";
|
|
license = licenses.gpl2Only;
|
|
inherit (libsepol.meta) homepage platforms;
|
|
maintainers = with maintainers; [ RossComputerGuy ];
|
|
};
|
|
}
|