eeb290ba86
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 0.31.0 with grep in /nix/store/fvg6pam343ci69qdjrcw1yqjznmhnwq5-gparted-0.31.0 - directory tree listing: https://gist.github.com/4cc11c6b07976ff42e854ec92cc48f35
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.31.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/gparted/${name}.tar.gz";
|
|
sha256 = "1fh7rpgb4xxdhgyjsirb83zvjfc5mfngb8a1pjbv7r6r6jj4jyrv";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|