nixpkgs/pkgs/by-name/se/semodule-utils/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
662 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libsepol }:
2018-09-04 07:35:58 +00:00
stdenv.mkDerivation rec {
pname = "semodule-utils";
2024-06-26 19:44:30 +00:00
version = "3.7";
2018-09-04 07:35:58 +00:00
inherit (libsepol) se_url;
2018-09-04 07:35:58 +00:00
src = fetchurl {
url = "${se_url}/${version}/${pname}-${version}.tar.gz";
2024-06-26 19:44:30 +00:00
sha256 = "sha256-2wZBrq/v7EZhLHwt3TPvEGC7chzmSELSqWwz3dtesXY=";
2018-09-04 07:35:58 +00:00
};
buildInputs = [ libsepol ];
makeFlags = [
"PREFIX=$(out)"
2021-01-15 14:45:37 +00:00
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
2018-09-04 07:35:58 +00:00
];
meta = with lib; {
2018-09-04 07:35:58 +00:00
description = "SELinux policy core utilities (packaging additions)";
2024-05-26 12:16:07 +00:00
license = licenses.gpl2Only;
2018-09-04 07:35:58 +00:00
inherit (libsepol.meta) homepage platforms;
maintainers = with maintainers; [ RossComputerGuy ];
2018-09-04 07:35:58 +00:00
};
}