summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libsepol/default.nix
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:45:26 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2011-03-27 04:45:26 +0000
commitb0d3a2f38c5212a65b2d98f865c9459b9045c134 (patch)
tree40fbcdc5e27ceaaaffb5fc1ba6721869f64938ce /pkgs/os-specific/linux/libsepol/default.nix
parent3822bde42e0eb42b70e7ded45e990ee42b92e5a6 (diff)
downloadnixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar.gz
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar.bz2
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar.lz
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar.xz
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.tar.zst
nixpkgs-b0d3a2f38c5212a65b2d98f865c9459b9045c134.zip
libsepol: version bump
svn path=/nixpkgs/trunk/; revision=26535
Diffstat (limited to 'pkgs/os-specific/linux/libsepol/default.nix')
-rw-r--r--pkgs/os-specific/linux/libsepol/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/libsepol/default.nix b/pkgs/os-specific/linux/libsepol/default.nix
index eac7efecaed..1751994e3de 100644
--- a/pkgs/os-specific/linux/libsepol/default.nix
+++ b/pkgs/os-specific/linux/libsepol/default.nix
@@ -1,10 +1,13 @@
 {stdenv, fetchurl}:
 
-stdenv.mkDerivation {
-  builder = ./builder.sh;
-  name = "libsepol-1.12";
+stdenv.mkDerivation rec {
+  name = "libsepol-${version}";
+  version = "2.0.42";
+
   src = fetchurl {
-    url = http://www.nsa.gov/selinux/archives/libsepol-1.12.tgz;
-    md5 = "937885f1fcbfe597a0f02aa9af044710";
+    url = "http://userspace.selinuxproject.org/releases/20101221/devel/${name}.tar.gz";
+    sha256 = "0sg61mb9qhyh4vplasar6nwd6j123v453zss93qws3h95fhrfc08";
   };
+
+  preBuild = '' makeFlags="$makeFlags PREFIX=$out DESTDIR=$out" '';
 }