diff --git a/pkgs/tools/misc/parted/default.nix b/pkgs/tools/misc/parted/default.nix index d256eda7a4b0..11e4cf856f4b 100644 --- a/pkgs/tools/misc/parted/default.nix +++ b/pkgs/tools/misc/parted/default.nix @@ -2,20 +2,23 @@ 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"; + description = "Tool to create, destroy, resize, check and copy partitions"; homepage = http://www.gnu.org/software/parted/; license = "GPLv3"; };