2007-05-14 00:43:15 +02:00
|
|
|
{stdenv, fetchurl, e2fsprogs, readline}:
|
2005-07-31 22:11:56 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-02-15 00:44:08 +01:00
|
|
|
name = "parted-1.8.8";
|
2005-07-31 22:11:56 +02:00
|
|
|
src = fetchurl {
|
2009-02-15 00:44:08 +01:00
|
|
|
url = mirror://gnu/parted/parted-1.8.8.tar.bz2;
|
|
|
|
sha256 = "1sn5qcdi4pvxnxz8ryh5p52qmqd72qbk0d0a65pksxf7khd83kfz";
|
2005-07-31 22:11:56 +02:00
|
|
|
};
|
2007-05-14 00:43:15 +02:00
|
|
|
buildInputs = [e2fsprogs readline];
|
|
|
|
|
2009-02-15 00:44:08 +01:00
|
|
|
preConfigure=''
|
|
|
|
export CFLAGS=-fgnu89-inline
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -fgnu89-inline"
|
|
|
|
'';
|
2007-05-14 00:43:15 +02:00
|
|
|
configureFlags = "--without-readline";
|
2009-02-15 00:44:08 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "industrial-strength package for creating, destroying, resizing, checking and copying partitions";
|
|
|
|
homepage = http://www.gnu.org/software/parted/;
|
|
|
|
license = "GPLv3";
|
|
|
|
};
|
2005-07-31 22:11:56 +02:00
|
|
|
}
|