2015-10-29 14:38:09 +01:00
|
|
|
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
|
|
|
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, 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 {
|
2016-06-13 19:33:47 +02:00
|
|
|
name = "gparted-0.26.1";
|
2009-09-10 18:57:21 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-13 19:33:47 +02:00
|
|
|
sha256 = "1h9d6x335wxpm49yphzm9n1hbh2hcg0p2rphv76mrvsss91bcm1g";
|
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
|
|
|
|
2015-06-17 19:36:06 +02:00
|
|
|
buildInputs = [ parted gtk glib libuuid gtkmm 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
|
|
|
};
|
|
|
|
}
|