nixpkgs/pkgs/applications/office/homebank/default.nix
2014-07-28 11:31:14 +02:00

27 lines
756 B
Nix

{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool }:
let
download_root = "http://homebank.free.fr/public/";
name = "homebank-4.5.5";
lastrelease = download_root + name + ".tar.gz";
oldrelease = download_root + "old/" + name + ".tar.gz";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
urls = [ lastrelease oldrelease ];
sha256 = "05k4497qsb6fzr662h9yxz1amsavd287wh0sabrpr9jdbh3jcfkg";
};
buildInputs = [ pkgconfig gtk libofx intltool ];
meta = {
description = "Free, easy, personal accounting for everyone";
homepage = http://homebank.free.fr/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}