From 7e66541ce8a469bb5236ab975651a51b002698dd Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 8 Jan 2012 19:29:07 +0000 Subject: [PATCH] Add bunch of kmymoney-4.6.1 dependencies svn path=/nixpkgs/trunk/; revision=31436 --- .../libraries/aqbanking/default.nix | 23 +++++++++++++++++++ .../libraries/gwenhywfar/default.nix | 19 +++++++++++++++ .../libraries/libalkimia/default.nix | 18 +++++++++++++++ pkgs/top-level/all-packages.nix | 6 +++++ 4 files changed, 66 insertions(+) create mode 100644 pkgs/development/libraries/aqbanking/default.nix create mode 100644 pkgs/development/libraries/gwenhywfar/default.nix create mode 100644 pkgs/development/libraries/libalkimia/default.nix diff --git a/pkgs/development/libraries/aqbanking/default.nix b/pkgs/development/libraries/aqbanking/default.nix new file mode 100644 index 000000000000..6c6e30137179 --- /dev/null +++ b/pkgs/development/libraries/aqbanking/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, gwenhywfar, pkgconfig, gmp, zlib }: + +stdenv.mkDerivation rec { + name = "aqbanking-5.0.21"; + + src = fetchurl { + url = "http://www2.aquamaniac.de/sites/download/download.php?package=03&release=91&file=01&dummy=aqbanking-5.0.21.tar.gz"; + name = "${name}.tar.gz"; + sha256 = "1xvzg640fswkrjrkrqzj0j9lnij7kcpnyvzd7nsg1by40wxwgp52"; + }; + + buildInputs = [ gwenhywfar gmp zlib ]; + + buildNativeInputs = [ pkgconfig ]; + + configureFlags = "--with-gwen-dir=${gwenhywfar}"; + + meta = { + maintainers = [ stdenv.lib.maintainers.urkud ]; + # Tries to install gwenhywfar plugin, thus `make install` fails + platforms = []; + }; +} diff --git a/pkgs/development/libraries/gwenhywfar/default.nix b/pkgs/development/libraries/gwenhywfar/default.nix new file mode 100644 index 000000000000..207b81997af5 --- /dev/null +++ b/pkgs/development/libraries/gwenhywfar/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, qt4, gtk, pkgconfig, gnutls, libgcrypt }: + +stdenv.mkDerivation rec { + name = "gwenhywfar-4.3.1"; + + src = fetchurl { + url = "http://www2.aquamaniac.de/sites/download/download.php?package=01&release=65&file=01&dummy=gwenhywfar-4.3.1.tar.gz"; + name = "${name}.tar.gz"; + sha256 = "1r8ayi1nwcdcs4mncd7zigl8pk707j7whb85klsyir4nif52fxrs"; + }; + + propagatedBuildInputs = [ gnutls libgcrypt ]; + + buildInputs = [ qt4 gtk ]; + + buildNativeInputs = [ pkgconfig ]; + + QTDIR = qt4; +} diff --git a/pkgs/development/libraries/libalkimia/default.nix b/pkgs/development/libraries/libalkimia/default.nix new file mode 100644 index 000000000000..61c405998692 --- /dev/null +++ b/pkgs/development/libraries/libalkimia/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl, kdelibs, gmpxx }: + +stdenv.mkDerivation rec { + name = "libalkimia-4.3.1"; + + src = fetchurl { + url = "http://kde-apps.org/CONTENT/content-files/137323-${name}.tar.bz2"; + sha256 = "1l5jgf0wc4s1sk4q5g2v78r9s7dg9k5ikm3pip6cbhjhfc0nv939"; + }; + + patchPhase = "sed -e 's/KDE4_DATA_DIR/DATA_INSTALL_DIR/' -i CMakeLists.txt"; + buildInputs = [ kdelibs gmpxx ]; + + meta = { + maintainers = [ stdenv.lib.maintainers.urkud ]; + inherit (kdelibs.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe3f8e576690..46adf6e2d302 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3150,6 +3150,8 @@ let attr = callPackage ../development/libraries/attr { }; + aqbanking = callPackage ../development/libraries/aqbanking { }; + aubio = callPackage ../development/libraries/aubio { }; axis = callPackage ../development/libraries/axis { }; @@ -3698,6 +3700,8 @@ let gts = callPackage ../development/libraries/gts { }; + gwenhywfar = callPackage ../development/libraries/gwenhywfar { }; + # TODO : Add MIT Kerberos and let admin choose. kerberos = heimdal; @@ -8101,6 +8105,8 @@ let kuickshow = callPackage ../applications/graphics/kuickshow { }; + libalkimia = callPackage ../development/libraries/libalkimia { }; + libktorrent = callPackage ../development/libraries/libktorrent { }; libkvkontakte = callPackage ../development/libraries/libkvkontakte { };