summary refs log tree commit diff
path: root/pkgs/tools/system/fdisk
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-08-09 22:15:40 +0000
committerLudovic Courtès <ludo@gnu.org>2009-08-09 22:15:40 +0000
commitc3943258ced3523c4ca16b85f601445024ec2509 (patch)
treedee6d2131a710bce04fa41af9142de33e2c158b0 /pkgs/tools/system/fdisk
parent5c37e492994781c580ad5605e903a1e8d0c393b0 (diff)
downloadnixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar.gz
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar.bz2
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar.lz
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar.xz
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.tar.zst
nixpkgs-c3943258ced3523c4ca16b85f601445024ec2509.zip
Add GNU fdisk.
svn path=/nixpkgs/trunk/; revision=16626
Diffstat (limited to 'pkgs/tools/system/fdisk')
-rw-r--r--pkgs/tools/system/fdisk/default.nix29
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 00000000000..d866f81c3ce
--- /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 ];
+  };
+}