depot/third_party/nixpkgs/pkgs/tools/system/fdisk/default.nix
Default email 619d6dcc77 Project import generated by Copybara.
GitOrigin-RevId: 870959c7fb3a42af1863bed9e1756086a74eb649
2021-08-22 09:53:02 +02:00

30 lines
797 B
Nix

{ fetchurl, lib, stdenv, parted, libuuid, gettext, guile }:
stdenv.mkDerivation rec {
pname = "gnufdisk";
version = "2.0.0a"; # .0a1 seems broken, see https://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html
src = fetchurl {
url = "mirror://gnu/fdisk/gnufdisk-${version}.tar.gz";
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.
'';
license = lib.licenses.gpl3Plus;
homepage = "https://www.gnu.org/software/fdisk/";
platforms = lib.platforms.linux;
};
}