From 8e55fad6d169fcef1e54a46f83e7faea69f00d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Tue, 26 Jan 2010 22:22:11 +0000 Subject: [PATCH] Adding homebank, personal finance software. svn path=/nixpkgs/trunk/; revision=19698 --- pkgs/applications/office/homebank/default.nix | 27 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 5 ++++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/applications/office/homebank/default.nix diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix new file mode 100644 index 00000000000..4a04580201c --- /dev/null +++ b/pkgs/applications/office/homebank/default.nix @@ -0,0 +1,27 @@ +{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool }: + +let + download_root = "http://homebank.free.fr/public/"; + name = "homebank-4.1"; + lastrelease = download_root + name + ".tar.gz"; + oldrelease = download_root + "old/" + name + ".tar.gz"; +in + +stdenv.mkDerivation { + inherit name; + + src = fetchurl { + urls = [ lastrelease oldrelease ]; + sha256 = "0nv69rmcvywgks58w20qgbw8v0ir57gys4zd2gcys6knj6q323b8"; + }; + + buildInputs = [ pkgconfig gtk libofx intltool ]; + + meta = { + description = "Free, easy, personal accounting for everyone"; + homepage = http://homebank.free.fr/; + license = "GPLv2+"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 68d7c8f04ff..f29a0edb602 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7116,6 +7116,11 @@ let inherit fetchurl stdenv; }; + homebank = import ../applications/office/homebank { + inherit fetchurl stdenv pkgconfig libofx intltool; + inherit (gtkLibs) gtk; + }; + hugin = import ../applications/graphics/hugin { inherit fetchurl cmake panotools libtiff libpng boost pkgconfig exiv2 gettext ilmbase enblendenfuse autopanosiftc mesa freeglut