diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-08-09 22:15:40 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-08-09 22:15:40 +0000 |
commit | c3943258ced3523c4ca16b85f601445024ec2509 (patch) | |
tree | dee6d2131a710bce04fa41af9142de33e2c158b0 /pkgs/tools/system | |
parent | 5c37e492994781c580ad5605e903a1e8d0c393b0 (diff) |
Add GNU fdisk.
svn path=/nixpkgs/trunk/; revision=16626
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/fdisk/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/system/fdisk/default.nix b/pkgs/tools/system/fdisk/default.nix new file mode 100644 index 0000000000000..d866f81c3ceb4 --- /dev/null +++ b/pkgs/tools/system/fdisk/default.nix @@ -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 ]; + }; +} |