nixpkgs/pkgs/tools/misc/gparted/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, intltool, gettext, makeWrapper
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
, gpart, hdparm, procps, utillinux
}:
stdenv.mkDerivation rec {
2015-10-28 13:06:24 +00:00
name = "gparted-0.24.0";
src = fetchurl {
2015-10-28 13:06:24 +00:00
sha256 = "0q6d1s9f4qgdivj4vm9w87qmdfyq8s65jzkhv05rp9cl72rqlf82";
url = "mirror://sourceforge/gparted/${name}.tar.bz2";
};
configureFlags = "--disable-doc";
buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ];
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
wrapProgram $out/sbin/gparted \
--prefix PATH : "${procps}/bin"
wrapProgram $out/sbin/gpartedbin \
--prefix PATH : "${gpart}/bin:${hdparm}/bin:${utillinux}/bin"
'';
2015-01-26 18:50:52 +00:00
meta = with stdenv.lib; {
description = "Graphical disk partitioning tool";
2015-01-26 18:50:52 +00:00
longDescription = ''
GNOME Partition Editor for creating, reorganizing, and deleting disk
partitions. GParted enables you to change the partition organization
while preserving the partition contents.
'';
homepage = http://gparted.org;
license = licenses.gpl2Plus;
platforms = platforms.linux;
2015-01-26 18:50:52 +00:00
maintainers = with maintainers; [ nckx ];
};
}