4d5293d8c3
Key changes include: - Add progress bar during additional ext2/3/4 and ntfs operations - Enhance SWRaid member detection and file system clearing - Always use blkid file system detection before libparted See the Release Notes for more details: https://sourceforge.net/projects/gparted/files/gparted/gparted-0.25.0/gparted-0.25.0-README.md/view
38 lines
1.2 KiB
Nix
38 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.25.0";
|
|
|
|
src = fetchurl {
|
|
sha256 = "1bllvj66rka8f9h9rfwvxaqrj4mbp2n2860ahnp9xm1195gnv69d";
|
|
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 ];
|
|
};
|
|
}
|