nixpkgs-suyu/pkgs/applications/office/homebank/default.nix

28 lines
734 B
Nix
Raw Normal View History

{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool }:
let
download_root = "http://homebank.free.fr/public/";
name = "homebank-4.4";
lastrelease = download_root + name + ".tar.gz";
oldrelease = download_root + "old/" + name + ".tar.gz";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
urls = [ lastrelease oldrelease ];
sha256 = "1lp7vhimn7aa2b4ik857w7d7rbbqcwlsffk8s8lw4fjyaxrr7f0k";
};
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;
};
}