checkpolicy: packaged
svn path=/nixpkgs/trunk/; revision=26538
This commit is contained in:
parent
deb3dd805f
commit
28f7f1c192
23
pkgs/os-specific/linux/checkpolicy/default.nix
Normal file
23
pkgs/os-specific/linux/checkpolicy/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, fetchurl, libsepol, libselinux, bison, flex }:
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "checkpolicy-${version}";
|
||||
version = "2.0.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://userspace.selinuxproject.org/releases/20101221/devel/checkpolicy-2.0.23.tar.gz";
|
||||
sha256 = "1n34ggacds7xap039r6hqkxmkd4g2wgfkxjdnv3lirq3cqqi8cnd";
|
||||
};
|
||||
|
||||
buildInputs = [ libsepol libselinux bison flex ];
|
||||
|
||||
preBuild = '' makeFlags="$makeFlags LEX=flex LIBDIR=${libsepol}/lib PREFIX=$out" '';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://userspace.selinuxproject.org/;
|
||||
description = "SELinux policy compiler";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.phreedom ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4643,6 +4643,8 @@ let
|
|||
|
||||
bridge_utils = callPackage ../os-specific/linux/bridge-utils { };
|
||||
|
||||
checkpolicy = callPackage ../os-specific/linux/checkpolicy { };
|
||||
|
||||
cifs_utils = callPackage ../os-specific/linux/cifs-utils { };
|
||||
|
||||
conky = callPackage ../os-specific/linux/conky { };
|
||||
|
|
Loading…
Reference in a new issue