mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
0f84673f3d
Goodbye, and thanks for all the Nix...
38 lines
1.2 KiB
Nix
38 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.30.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gparted/${name}.tar.gz";
|
|
sha256 = "0jngbsbvg8k8vbpsphqbk8br2cbmxhabbm2c5bmxm2q5zvpr64fk";
|
|
};
|
|
|
|
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 = http://gparted.org;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|