nixpkgs/pkgs/tools/misc/gparted/default.nix
R. RyanTM 1f4eb992c4 gparted: 0.31.0 -> 0.32.0 (#45576)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gparted/versions.
2018-08-24 18:23:09 +02:00

37 lines
1.2 KiB
Nix

{ stdenv, fetchurl, intltool, gettext, makeWrapper
, parted, glib, libuuid, pkgconfig, gtkmm2, libxml2, hicolor-icon-theme
, gpart, hdparm, procps, utillinux
}:
stdenv.mkDerivation rec {
name = "gparted-0.32.0";
src = fetchurl {
url = "mirror://sourceforge/gparted/${name}.tar.gz";
sha256 = "1fjp4c8jc0kjbbih1x1vs9v40d9lncma642kflnmy0bixxnvh7df";
};
configureFlags = [ "--disable-doc" ];
buildInputs = [ parted glib libuuid gtkmm2 libxml2 hicolor-icon-theme ];
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
postInstall = ''
wrapProgram $out/bin/gparted \
--prefix PATH : "${procps}/bin"
wrapProgram $out/sbin/gpartedbin \
--prefix PATH : "${stdenv.lib.makeBinPath [ gpart hdparm utillinux ]}"
'';
meta = with stdenv.lib; {
description = "Graphical disk partitioning tool";
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 = https://gparted.org;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}