2009-09-16 15:30:53 +01:00
|
|
|
{ fetchurl, stdenv, parted, libuuid, gettext }:
|
2009-08-09 23:15:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-01-11 10:16:47 +00:00
|
|
|
name = "fdisk-1.2.4";
|
2009-08-09 23:15:40 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/fdisk/${name}.tar.bz2";
|
2010-01-11 10:16:47 +00:00
|
|
|
sha256 = "17xl8xa1cwaxcdw49m1kqwralhac2y2z8nbx7mwlf28dpplvd9p0";
|
2009-08-09 23:15:40 +01:00
|
|
|
};
|
|
|
|
|
2009-09-16 15:30:53 +01:00
|
|
|
buildInputs = [ parted libuuid gettext ];
|
2009-08-09 23:15:40 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU fdisk, a command-line disk partitioning tool";
|
|
|
|
|
|
|
|
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/;
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
2009-09-17 11:42:27 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-08-09 23:15:40 +01:00
|
|
|
};
|
|
|
|
}
|