Adding partition manager. It builds. But it waits forever on some devices?

So maybe just use gparted..

svn path=/nixpkgs/trunk/; revision=17021
This commit is contained in:
Marc Weber 2009-09-10 16:57:34 +00:00
parent 74c5a4d9d9
commit dab5d6463f
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,33 @@
args: with args; with kde;
stdenv.mkDerivation {
name = "partitionmanager-1.0.0";
src = fetchurl {
url = http://www.kde-apps.org/CONTENT/content-files/89595-partitionmanager-1.0.0.tar.bz2;
sha256 = "03ibn4vns7pa0ygkp2jh6zcdy106as5cc7p6rv1f5c15wxx0zsk1";
};
buildInputs = [cmake gettext parted libuuid
qt kdelibs kdebase automoc4 perl phonon];
preConfigure = ''
export VERBOSE=1
cmakeFlagsArray=($cmakeFlagsArray -DGETTEXT_INCLUDE_DIR=${gettext}/include -DCMAKE_INCLUDE_PATH=${qt}/include/QtGui )
'';
postInstall = ''
set -x
rpath=`patchelf --print-rpath $out/bin/partitionmanager-bin`:${qt}/lib
for p in $out/bin/partitionmanager-bin; do
patchelf --set-rpath $rpath $p
done
'';
meta = {
description = "utility program to help you manage the disk devices";
homepage = http://www.kde-apps.org/content/show.php/KDE+Partition+Manager?content=89595; # ?
license = "GPL";
maintainers = [args.lib.maintainers.marcweber];
};
}

View File

@ -6962,6 +6962,12 @@ let
inherit fetchurl stdenv cmake qt4;
};
partitionManager = import ../tools/misc/partition-manager {
inherit fetchurl stdenv lib cmake pkgconfig gettext parted libuuid perl;
kde = kde43;
qt = qt4;
};
pidgin = import ../applications/networking/instant-messengers/pidgin {
inherit fetchurl stdenv pkgconfig perl perlXMLParser libxml2 nss nspr
gtkspell aspell gettext ncurses avahi dbus dbus_glib lib intltool;