summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libsepol/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-02-24 13:25:53 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-02-24 13:25:53 +0100
commitde70e3739d2e69806ddfd47efa8b21aa1864b15e (patch)
treea36cce23a53c3a9fd9b7b4e2331572ecbfb2b76c /pkgs/os-specific/linux/libsepol/default.nix
parentf6b28fad730253d58a89776862cc12a000afbd20 (diff)
downloadnixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.gz
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.bz2
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.lz
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.xz
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.tar.zst
nixpkgs-de70e3739d2e69806ddfd47efa8b21aa1864b15e.zip
SELinux fixes and updates to 2012-09-24
Diffstat (limited to 'pkgs/os-specific/linux/libsepol/default.nix')
-rw-r--r--pkgs/os-specific/linux/libsepol/default.nix19
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/libsepol/default.nix b/pkgs/os-specific/linux/libsepol/default.nix
index 1751994e3de..d41d1cbe752 100644
--- a/pkgs/os-specific/linux/libsepol/default.nix
+++ b/pkgs/os-specific/linux/libsepol/default.nix
@@ -1,13 +1,24 @@
-{stdenv, fetchurl}:
+{ stdenv, fetchurl }:
 
 stdenv.mkDerivation rec {
   name = "libsepol-${version}";
-  version = "2.0.42";
+  version = "2.1.8";
+  se_release = "20120924";
+  se_url = "${meta.homepage}/releases";
 
   src = fetchurl {
-    url = "http://userspace.selinuxproject.org/releases/20101221/devel/${name}.tar.gz";
-    sha256 = "0sg61mb9qhyh4vplasar6nwd6j123v453zss93qws3h95fhrfc08";
+    url = "${se_url}/${se_release}/libsepol-${version}.tar.gz";
+    sha256 = "1w38q3lmha5m9aps9w844i51yw4b8q1vhpng2kdywn2n8cpdvvk3";
   };
 
   preBuild = '' makeFlags="$makeFlags PREFIX=$out DESTDIR=$out" '';
+
+  passthru = { inherit se_release se_url meta; };
+
+  meta = with stdenv.lib; {
+    homepage = http://userspace.selinuxproject.org;
+    platforms = platforms.linux;
+    maintainers = [ maintainers.phreedom ];
+    license = "GPLv2";
+  };
 }