summary refs log tree commit diff
path: root/pkgs/tools/system/fdisk/default.nix
blob: 5a34813d8d99833f72c8113dd8a16801fe81eab9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ fetchurl, stdenv, parted, libuuid, gettext }:

stdenv.mkDerivation rec {
  name = "fdisk-1.3.0a";

  src = fetchurl {
    url = "mirror://gnu/fdisk/${name}.tar.bz2";
    sha256 = "1g2zvl560f7p1hd4q50d1msy6qp7949mdkagfy8ki8cayp8fp267";
  };

  buildInputs = [ parted libuuid 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 ];
    platforms = stdenv.lib.platforms.linux;
  };
}