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