2015-10-29 06:38:09 -07:00
|
|
|
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
|
|
|
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
|
2015-11-19 14:39:15 -08:00
|
|
|
, gpart, hdparm, procps, utillinux
|
2015-06-12 02:53:33 -07:00
|
|
|
}:
|
2010-07-28 08:35:01 -07:00
|
|
|
|
2013-02-14 04:13:10 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-28 06:06:24 -07:00
|
|
|
name = "gparted-0.24.0";
|
2009-09-10 09:57:21 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-10-28 06:06:24 -07:00
|
|
|
sha256 = "0q6d1s9f4qgdivj4vm9w87qmdfyq8s65jzkhv05rp9cl72rqlf82";
|
2013-02-14 04:13:10 -08:00
|
|
|
url = "mirror://sourceforge/gparted/${name}.tar.bz2";
|
2009-09-10 09:57:21 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = "--disable-doc";
|
|
|
|
|
2015-06-17 10:36:06 -07:00
|
|
|
buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ];
|
2015-10-29 06:38:09 -07:00
|
|
|
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
|
|
|
|
|
|
|
|
postInstall = ''
|
2015-11-19 14:39:15 -08:00
|
|
|
wrapProgram $out/sbin/gparted \
|
|
|
|
--prefix PATH : "${procps}/bin"
|
2015-10-29 06:38:09 -07:00
|
|
|
wrapProgram $out/sbin/gpartedbin \
|
2015-11-19 12:09:26 -08:00
|
|
|
--prefix PATH : "${gpart}/bin:${hdparm}/bin:${utillinux}/bin"
|
2015-10-29 06:38:09 -07:00
|
|
|
'';
|
2009-09-10 09:57:21 -07:00
|
|
|
|
2015-01-26 10:50:52 -08:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 08:35:01 -07:00
|
|
|
description = "Graphical disk partitioning tool";
|
2015-01-26 10:50:52 -08: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.
|
|
|
|
'';
|
2015-08-04 15:09:18 -07:00
|
|
|
homepage = http://gparted.org;
|
2015-05-28 10:20:29 -07:00
|
|
|
license = licenses.gpl2Plus;
|
2015-08-04 15:08:51 -07:00
|
|
|
platforms = platforms.linux;
|
2015-01-26 10:50:52 -08:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2009-09-10 09:57:21 -07:00
|
|
|
};
|
|
|
|
}
|