1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/os-specific/linux/policycoreutils/default.nix
Evgeny Egorochkin 4b26d46014 policycoreutils: fix compilation
svn path=/nixpkgs/trunk/; revision=26557
2011-03-28 07:38:16 +00:00

25 lines
690 B
Nix

{ stdenv, fetchurl, libsepol, libselinux }:
stdenv.mkDerivation rec {
name = "policycoreutils-${version}";
version = "2.0.85";
src = fetchurl {
url = http://userspace.selinuxproject.org/releases/20101221/devel/policycoreutils-2.0.85.tar.gz;
sha256 = "01q5ifacg24k9jdz85j9m17ps2l1p7abvh8pzy6qz55y68rycifb";
};
buildInputs = [ libsepol libselinux ];
NIX_LDFLAGS = "-lsepol";
makeFlags = "LOCALEDIR=$(out)/share/locale";
meta = with stdenv.lib; {
homepage = http://userspace.selinuxproject.org/;
description = "SELinux policy core utilities";
license = licenses.gpl2;
maintainers = [ maintainers.phreedom ];
platforms = platforms.linux;
};
}