nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 671 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 libsepol, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "semodule-utils"; 10 version = "3.8.1"; 11 12 inherit (libsepol) se_url; 13 14 src = fetchurl { 15 url = "${se_url}/${version}/${pname}-${version}.tar.gz"; 16 sha256 = "sha256-dwWw2wWcU6IdanfAtQ9sRn2RoOqS/4dfHJNSfNJ2I5U="; 17 }; 18 19 buildInputs = [ libsepol ]; 20 21 makeFlags = [ 22 "PREFIX=$(out)" 23 "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a" 24 ]; 25 26 meta = { 27 description = "SELinux policy core utilities (packaging additions)"; 28 license = lib.licenses.gpl2Only; 29 inherit (libsepol.meta) homepage platforms; 30 maintainers = with lib.maintainers; [ RossComputerGuy ]; 31 }; 32}