diff options
Diffstat (limited to 'pkgs/tools/misc/gparted/default.nix')
-rw-r--r-- | pkgs/tools/misc/gparted/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/tools/misc/gparted/default.nix b/pkgs/tools/misc/gparted/default.nix index 2b9c2297af283..fd6920e623dcd 100644 --- a/pkgs/tools/misc/gparted/default.nix +++ b/pkgs/tools/misc/gparted/default.nix @@ -1,19 +1,25 @@ -{ stdenv, fetchurl, parted, gtk, glib, intltool, gettext, libuuid -, pkgconfig, gtkmm, libxml2, hicolor_icon_theme +{ stdenv, fetchurl, intltool, gettext, makeWrapper +, parted, gtk, glib, libuuid, pkgconfig, gtkmm, libxml2, hicolor_icon_theme +, hdparm, utillinux }: stdenv.mkDerivation rec { - name = "gparted-0.23.0"; + name = "gparted-0.24.0"; src = fetchurl { - sha256 = "0m57bni3nkbbqq920ydzvasy2qc5j6w6bdssyn12jk4157gxvlbz"; + sha256 = "0q6d1s9f4qgdivj4vm9w87qmdfyq8s65jzkhv05rp9cl72rqlf82"; url = "mirror://sourceforge/gparted/${name}.tar.bz2"; }; configureFlags = "--disable-doc"; buildInputs = [ parted gtk glib libuuid gtkmm libxml2 hicolor_icon_theme ]; - nativeBuildInputs = [ intltool gettext pkgconfig ]; + nativeBuildInputs = [ intltool gettext makeWrapper pkgconfig ]; + + postInstall = '' + wrapProgram $out/sbin/gpartedbin \ + --prefix PATH : "${hdparm}/bin:${utillinux}/bin" + ''; meta = with stdenv.lib; { description = "Graphical disk partitioning tool"; |