2013-01-31 21:10:37 +01:00
|
|
|
{ fetchurl, stdenv, parted, libuuid, gettext, guile }:
|
2009-08-10 00:15:40 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-31 21:10:37 +01:00
|
|
|
name = "gnufdisk-2.0.0a"; # .0a1 seems broken, see http://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html
|
2009-08-10 00:15:40 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-31 21:10:37 +01:00
|
|
|
url = "mirror://gnu/fdisk/${name}.tar.gz";
|
|
|
|
sha256 = "04nd7civ561x2lwcmxhsqbprml3178jfc58fy1v7hzqg5k4nbhy3";
|
2009-08-10 00:15:40 +02:00
|
|
|
};
|
|
|
|
|
2013-01-31 21:10:37 +01:00
|
|
|
buildInputs = [ parted libuuid gettext guile ];
|
2009-08-10 00:15:40 +02:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2013-01-31 21:10:37 +01:00
|
|
|
description = "A command-line disk partitioning tool";
|
2009-08-10 00:15:40 +02:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
GNU fdisk provides alternatives to util-linux fdisk and util-linux
|
|
|
|
cfdisk. It uses GNU Parted.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv3+";
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/fdisk/;
|
|
|
|
|
2013-11-05 00:04:36 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-08-10 00:15:40 +02:00
|
|
|
};
|
|
|
|
}
|