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