Add GNU fdisk.
svn path=/nixpkgs/trunk/; revision=16626
This commit is contained in:
parent
5c37e49299
commit
c3943258ce
29
pkgs/tools/system/fdisk/default.nix
Normal file
29
pkgs/tools/system/fdisk/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ fetchurl, stdenv, parted, e2fsprogs, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fdisk-1.2.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/fdisk/${name}.tar.bz2";
|
||||
sha256 = "04nsa0xf1m5zy45wqv88ksk3xxc86r9n8f4mj3r6gm7rz0sfiqil";
|
||||
};
|
||||
|
||||
buildInputs = [ parted e2fsprogs gettext ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -664,6 +664,10 @@ let
|
||||
inherit fetchurl stdenv perl;
|
||||
};
|
||||
|
||||
fdisk = import ../tools/system/fdisk {
|
||||
inherit fetchurl stdenv parted e2fsprogs gettext;
|
||||
};
|
||||
|
||||
figlet = import ../tools/misc/figlet {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user