forked from mirrors/nixpkgs
394be4b2e1
to get rid of compile time warnings causing build failure svn path=/nixpkgs/trunk/; revision=14082
23 lines
649 B
Nix
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";
|
|
};
|
|
}
|