mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
5bd9baa141
It builds now.
31 lines
856 B
Nix
31 lines
856 B
Nix
{ fetchurl, stdenv, parted, libuuid, gettext, guile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gnufdisk-2.0.0a"; # .0a1 seems broken, see http://lists.gnu.org/archive/html/bug-fdisk/2012-09/msg00000.html
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/fdisk/${name}.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 = "GPLv3+";
|
|
|
|
homepage = http://www.gnu.org/software/fdisk/;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
#platforms = stdenv.lib.platforms.linux; # was failing for long without anyone complaining
|
|
};
|
|
}
|