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