2015-10-29 13:38:09 +00:00
|
|
|
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
2016-09-11 22:24:51 +01:00
|
|
|
, parted, glib, libuuid, pkgconfig, gtkmm2, 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-06-13 18:33:47 +01:00
|
|
|
name = "gparted-0.26.1";
|
2009-09-10 17:57:21 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-13 18:33:47 +01:00
|
|
|
sha256 = "1h9d6x335wxpm49yphzm9n1hbh2hcg0p2rphv76mrvsss91bcm1g";
|
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
|
|
|
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ parted glib libuuid gtkmm2 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 \
|
2016-08-22 23:06:51 +01:00
|
|
|
--prefix PATH : "${stdenv.lib.makeBinPath [ gpart hdparm utillinux ]}"
|
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
|
|
|
};
|
|
|
|
}
|