1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

gptfdisk 1.0.0 -> 1.0.1

Changes: http://www.rodsbooks.com/gdisk/revisions.html
This commit is contained in:
Tobias Geerinckx-Rice 2015-10-21 01:43:30 +02:00
parent 283c83785f
commit df22cfdb41

View file

@ -1,11 +1,14 @@
{ fetchurl, stdenv, libuuid, popt, icu, ncurses }:
let version = "1.0.1"; in
stdenv.mkDerivation rec {
name = "gptfdisk-1.0.0";
name = "gptfdisk-${version}";
src = fetchurl {
# http://www.rodsbooks.com/gdisk/${name}.tar.gz also works, but the home
# page clearly implies a preference for using SourceForge's bandwidth:
url = "mirror://sourceforge/gptfdisk/${name}.tar.gz";
sha256 = "0v0xl0mzwabdf9yisgsvkhpyi48kbik35c6df42gr6d78dkrarjv";
sha256 = "1izazbyv5n2d81qdym77i8mg9m870hiydmq4d0s51npx5vp8lk46";
};
buildInputs = [ libuuid popt icu ncurses ];
@ -20,13 +23,12 @@ stdenv.mkDerivation rec {
done
'';
meta = {
description = "A set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
license = stdenv.lib.licenses.gpl2;
meta = with stdenv.lib; {
inherit version;
description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
license = licenses.gpl2;
homepage = http://www.rodsbooks.com/gdisk/;
platforms = stdenv.lib.platforms.linux;
maintainers = with maintainers; [ nckx ];
platforms = platforms.linux;
};
}