1 { lib, stdenv, fetchurl, libsepol }:
3 stdenv.mkDerivation rec {
4 pname = "semodule-utils";
7 inherit (libsepol) se_url;
10 url = "${se_url}/${version}/${pname}-${version}.tar.gz";
11 sha256 = "sha256-2wZBrq/v7EZhLHwt3TPvEGC7chzmSELSqWwz3dtesXY=";
14 buildInputs = [ libsepol ];
18 "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
22 description = "SELinux policy core utilities (packaging additions)";
23 license = licenses.gpl2Only;
24 inherit (libsepol.meta) homepage platforms;
25 maintainers = with maintainers; [ RossComputerGuy ];