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