Adding gptfdisk (patch by Shea Levy).

I add him in the maintainers list.
I changed slightly the indentation of the expressions.


svn path=/nixpkgs/trunk/; revision=26304
This commit is contained in:
Lluís Batlle i Rossell 2011-03-14 21:13:35 +00:00
parent e5fcf7ebe9
commit 1573081b61
3 changed files with 34 additions and 0 deletions

View File

@ -21,6 +21,7 @@
raskin = "Michael Raskin <7c6f434c@mail.ru>";
roconnor = "Russell O'Connor <roconnor@theorem.ca>";
sander = "Sander van der Burg <s.vanderburg@tudelft.nl>";
shlevy = "Shea Levy <shea@shealevy.com>";
simons = "Peter Simons <simons@cryp.to>";
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>";

View File

@ -0,0 +1,31 @@
{ fetchurl, stdenv, libuuid, popt }:
stdenv.mkDerivation rec {
name = "gptfdisk-0.7.0";
src = fetchurl {
url = "http://www.rodsbooks.com/gdisk/${name}.tgz";
sha256 = "1912l01pj7wcaj2fp06yl6m893c52qh2qy0bkx33k6iq2k747zrf";
};
buildInputs = [ libuuid popt ];
installPhase = ''
ensureDir $out/bin
ensureDir $out/share/man/man8
install -v -m755 gdisk sgdisk fixparts $out/bin
install -v -m644 gdisk.8 sgdisk.8 fixparts.8 \
$out/share/man/man8
'';
meta = {
description = "A set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
license = "GPLv2";
homepage = http://www.rodsbooks.com/gdisk/;
maintainers = stdenv.lib.maintainers.shlevy;
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -726,6 +726,8 @@ let
gource = callPackage ../tools/misc/gource { };
gptfdisk = callPackage ../tools/system/gptfdisk { };
graphviz = callPackage ../tools/graphics/graphviz {
inherit (gtkLibs) pango;
};