about summary refs log tree commit diff
path: root/pkgs/tools/misc/parted
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-02-14 23:44:08 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-02-14 23:44:08 +0000
commit394be4b2e16be623da76729588fd201be6762391 (patch)
treecdcf419224a2ce4a840ebe667f9b50d622273136 /pkgs/tools/misc/parted
parent0d159e6a10c7b71d18d6057575d040592d6d296e (diff)
parted version bump to 1.8.8 and passing --disable-Werror
to get rid of compile time warnings causing build failure

svn path=/nixpkgs/trunk/; revision=14082
Diffstat (limited to 'pkgs/tools/misc/parted')
-rw-r--r--pkgs/tools/misc/parted/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix
index d135a63dd949d..d256eda7a4b0c 100644
--- a/pkgs/tools/misc/parted/default.nix
+++ b/pkgs/tools/misc/parted/default.nix
@@ -1,12 +1,22 @@
 {stdenv, fetchurl, e2fsprogs, readline}:
 
 stdenv.mkDerivation {
-  name = "parted-1.8.7";
+  name = "parted-1.8.8";
   src = fetchurl {
-    url = mirror://gnu/parted/parted-1.8.7.tar.bz2;
-    sha256 = "0njabfinn1kbkdx80gayqanpammnl28pklli34bymhx1sxn82kk3";
+    url = mirror://gnu/parted/parted-1.8.8.tar.bz2;
+    sha256 = "1sn5qcdi4pvxnxz8ryh5p52qmqd72qbk0d0a65pksxf7khd83kfz";
   };
   buildInputs = [e2fsprogs readline];
 
+  preConfigure=''
+    export CFLAGS=-fgnu89-inline
+    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fgnu89-inline"
+  '';
   configureFlags = "--without-readline";
+
+  meta = {
+    description = "industrial-strength package for creating, destroying, resizing, checking and copying partitions";
+    homepage = http://www.gnu.org/software/parted/;
+    license = "GPLv3";
+  };
 }