nixpkgs/pkgs/tools/misc/gparted/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, intltool, gettext, makeWrapper
, parted, glib, libuuid, pkgconfig, gtkmm2, libxml2, hicolor_icon_theme
, gpart, hdparm, procps, utillinux
}:
stdenv.mkDerivation rec {
2017-09-29 12:00:37 +02:00
name = "gparted-0.29.0";
src = fetchurl {
2017-09-29 12:00:37 +02:00
sha256 = "1kf3ly7m3bikyzapjw8q1rlia0kg5zzgp59akhabx1rnnimvyl12";
url = "mirror://sourceforge/gparted/${name}.tar.gz";
};
configureFlags = [ "--disable-doc" ];
buildInputs = [ parted glib libuuid gtkmm2 libxml2 hicolor_icon_theme ];
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
wrapProgram $out/sbin/gparted \
--prefix PATH : "${procps}/bin"
wrapProgram $out/sbin/gpartedbin \
2016-08-23 00:06:51 +02:00
--prefix PATH : "${stdenv.lib.makeBinPath [ gpart hdparm utillinux ]}"
'';
2015-01-26 19:50:52 +01:00
meta = with stdenv.lib; {
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.
'';
homepage = http://gparted.org;
license = licenses.gpl2Plus;
platforms = platforms.linux;
2015-01-26 19:50:52 +01:00
maintainers = with maintainers; [ nckx ];
};
}