kdePackages.partitionManager: fix via update to Gentoo version

+15 -10
+15 -10
pkgs/tools/misc/partition-manager/default.nix
··· 1 - { stdenv, fetchurl, cmake, gettext, parted, libuuid, qt4, kdelibs, kde_baseapps, 2 - automoc4, phonon, perl }: 3 4 - stdenv.mkDerivation { 5 - name = "partitionmanager-1.0.0"; 6 7 src = fetchurl { 8 - url = http://www.kde-apps.org/CONTENT/content-files/89595-partitionmanager-1.0.0.tar.bz2; 9 - sha256 = "03ibn4vns7pa0ygkp2jh6zcdy106as5cc7p6rv1f5c15wxx0zsk1"; 10 }; 11 12 - buildInputs = 13 - [ cmake gettext parted libuuid qt4 kdelibs kde_baseapps automoc4 perl phonon ]; 14 15 preConfigure = '' 16 export VERBOSE=1 ··· 19 20 postInstall = '' 21 set -x 22 - rpath=`patchelf --print-rpath $out/bin/partitionmanager-bin`:${qt4}/lib 23 for p in $out/bin/partitionmanager-bin; do 24 patchelf --set-rpath $rpath $p 25 done 26 ''; 27 28 - meta = { 29 description = "Utility program to help you manage the disk devices"; 30 homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ? 31 license = "GPL";
··· 1 + { stdenv, fetchurl, pkgconfig, cmake, gettext, automoc4, perl 2 + , parted, libuuid, qt4, kdelibs, kde_baseapps, phonon, libatasmart 3 + }: 4 5 + stdenv.mkDerivation rec { 6 + name = "partitionmanager-1.0.3_p20120804"; 7 8 src = fetchurl { 9 + #url = "mirror://sourceforge/partitionman/${name}.tar.bz2"; 10 + # the upstream version is old and doesn't build 11 + url = "http://dev.gentoo.org/~kensington/distfiles/${name}.tar.bz2"; 12 + sha256 = "1j6zpgj8xs98alzxvcibwch9yj8jsx0s7y864gbdx280jmj8c1np"; 13 }; 14 15 + buildInputs = [ 16 + pkgconfig cmake gettext automoc4 perl 17 + parted libuuid qt4 kdelibs kde_baseapps phonon libatasmart 18 + ]; 19 20 preConfigure = '' 21 export VERBOSE=1 ··· 24 25 postInstall = '' 26 set -x 27 + rpath=`patchelf --print-rpath $out/bin/partitionmanager-bin`:${qt4}/lib 28 for p in $out/bin/partitionmanager-bin; do 29 patchelf --set-rpath $rpath $p 30 done 31 ''; 32 33 + meta = { 34 description = "Utility program to help you manage the disk devices"; 35 homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ? 36 license = "GPL";