3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/parted/default.nix
Marc Weber 394be4b2e1 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
2009-02-14 23:44:08 +00:00

23 lines
649 B
Nix

{stdenv, fetchurl, e2fsprogs, readline}:
stdenv.mkDerivation {
name = "parted-1.8.8";
src = fetchurl {
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";
};
}