3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/gparted/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, intltool, gettext, makeWrapper
2019-05-31 09:52:17 +01:00
, parted, glib, libuuid, pkgconfig, gtkmm3, libxml2, hicolor-icon-theme
, gpart, hdparm, procps, utillinux
}:
stdenv.mkDerivation rec {
2019-05-31 09:52:17 +01:00
name = "gparted-1.0.0";
src = fetchurl {
url = "mirror://sourceforge/gparted/${name}.tar.gz";
2019-05-31 09:52:17 +01:00
sha256 = "0mdvn85jvy72ff7nds3dakx9kzknh8gx1z8i0w2sf970q03qp2z4";
};
configureFlags = [ "--disable-doc" ];
2019-05-31 09:52:17 +01:00
buildInputs = [ parted glib libuuid gtkmm3 libxml2 hicolor-icon-theme ];
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
2017-12-19 11:30:20 +00:00
wrapProgram $out/bin/gparted \
--prefix PATH : "${procps}/bin"
wrapProgram $out/sbin/gpartedbin \
2016-08-22 23:06:51 +01:00
--prefix PATH : "${stdenv.lib.makeBinPath [ gpart hdparm utillinux ]}"
'';
2015-01-26 18:50:52 +00:00
meta = with stdenv.lib; {
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.
'';
2018-05-01 04:03:23 +01:00
homepage = https://gparted.org;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}