mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
28 lines
624 B
Nix
28 lines
624 B
Nix
{ lib, stdenv, fetchurl, libsepol }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "semodule-utils";
|
|
version = "3.5";
|
|
|
|
inherit (libsepol) se_url;
|
|
|
|
src = fetchurl {
|
|
url = "${se_url}/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-yaVQpzcFHrrywQL2ZcfsL4XnIyhwmAqgBnmYRZtBQoM=";
|
|
};
|
|
|
|
buildInputs = [ libsepol ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SELinux policy core utilities (packaging additions)";
|
|
license = licenses.gpl2;
|
|
inherit (libsepol.meta) homepage platforms;
|
|
maintainers = [ ];
|
|
};
|
|
}
|