From 1c9c082d00fd784137ff9448ae9e4e5cdcfab706 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sun, 27 Mar 2011 04:46:19 +0000 Subject: [PATCH] policycoreutils: packaged svn path=/nixpkgs/trunk/; revision=26542 --- .../linux/policycoreutils/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/os-specific/linux/policycoreutils/default.nix diff --git a/pkgs/os-specific/linux/policycoreutils/default.nix b/pkgs/os-specific/linux/policycoreutils/default.nix new file mode 100644 index 000000000000..98a2bcb4e6cf --- /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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4fdcf8a88bbe..61343e0e2578 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5329,6 +5329,8 @@ let pmutils = callPackage ../os-specific/linux/pm-utils { }; + policycoreutils = callPackage ../os-specific/linux/policycoreutils { }; + powertop = callPackage ../os-specific/linux/powertop { }; procps = callPackage ../os-specific/linux/procps { };