summary refs log tree commit diff
path: root/pkgs/os-specific/linux/policycoreutils
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:46:19 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:46:19 +0000
commit1c9c082d00fd784137ff9448ae9e4e5cdcfab706 (patch)
treeee16583b5fa844b4ee944054cc84109919ed6ff7 /pkgs/os-specific/linux/policycoreutils
parentf1201cf75fb288c9376a5303d67130f37362c6b4 (diff)
downloadnixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar.gz
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar.bz2
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar.lz
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar.xz
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.tar.zst
nixpkgs-1c9c082d00fd784137ff9448ae9e4e5cdcfab706.zip
policycoreutils: packaged
svn path=/nixpkgs/trunk/; revision=26542
Diffstat (limited to 'pkgs/os-specific/linux/policycoreutils')
-rw-r--r--pkgs/os-specific/linux/policycoreutils/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/policycoreutils/default.nix b/pkgs/os-specific/linux/policycoreutils/default.nix
new file mode 100644
index 00000000000..98a2bcb4e6c
--- /dev/null
+++ b/pkgs/os-specific/linux/policycoreutils/default.nix
@@ -0,0 +1,23 @@
+{ 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 ];
+
+  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;
+  };
+}
\ No newline at end of file