mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
ed9e0b960e
Key changes include: - Implement read-only LUKS support - Add progress bars to NTFS, XFS, and EXT2/3/4 file system copy methods - Fix operations sometimes fail with: No such file or directory More: https://sourceforge.net/projects/gparted/files/gparted/gparted-0.26.0/gparted-0.26.0-README.md/view
39 lines
1.2 KiB
Nix
39 lines
1.2 KiB
Nix
{ stdenv, fetchurl, intltool, gettext, makeWrapper
|
|
, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme
|
|
, gpart, hdparm, procps, utillinux
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gparted-0.26.0";
|
|
|
|
src = fetchurl {
|
|
sha256 = "1d3zw99yd1v0gqhcxff35wqz34xi6ps7q9j1bn11sghqihr3kwxw";
|
|
url = "mirror://sourceforge/gparted/${name}.tar.gz";
|
|
};
|
|
|
|
configureFlags = [ "--disable-doc" ];
|
|
|
|
buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ];
|
|
nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/sbin/gparted \
|
|
--prefix PATH : "${procps}/bin"
|
|
wrapProgram $out/sbin/gpartedbin \
|
|
--prefix PATH : "${gpart}/bin:${hdparm}/bin:${utillinux}/bin"
|
|
'';
|
|
|
|
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;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
}
|