2015-10-29 13:38:09 +00:00
|
|
|
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
2016-09-11 21:24:51 +00: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 09:53:33 +00:00
|
|
|
}:
|
2010-07-28 15:35:01 +00:00
|
|
|
|
2013-02-14 12:13:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2017-03-04 09:29:14 +00:00
|
|
|
name = "gparted-0.28.1";
|
2009-09-10 16:57:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-03-04 09:29:14 +00:00
|
|
|
sha256 = "0cyk8lpimm6wani8khw0szwqkgw5wpq2mfnfxkbgfm2774a1z2bn";
|
2016-01-21 15:05:42 +00:00
|
|
|
url = "mirror://sourceforge/gparted/${name}.tar.gz";
|
2009-09-10 16:57:21 +00:00
|
|
|
};
|
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
configureFlags = [ "--disable-doc" ];
|
2009-09-10 16:57:21 +00:00
|
|
|
|
2016-09-11 21:24:51 +00: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 22:06:51 +00:00
|
|
|
--prefix PATH : "${stdenv.lib.makeBinPath [ gpart hdparm utillinux ]}"
|
2015-10-29 13:38:09 +00:00
|
|
|
'';
|
2009-09-10 16:57:21 +00:00
|
|
|
|
2015-01-26 18:50:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-07-28 15:35:01 +00: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 22:09:18 +00:00
|
|
|
homepage = http://gparted.org;
|
2015-05-28 17:20:29 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-08-04 22:08:51 +00:00
|
|
|
platforms = platforms.linux;
|
2015-01-26 18:50:52 +00:00
|
|
|
maintainers = with maintainers; [ nckx ];
|
2009-09-10 16:57:21 +00:00
|
|
|
};
|
|
|
|
}
|