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

30 lines
842 B
Nix
Raw Normal View History

{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool, wrapGAppsHook
2016-10-16 18:28:38 +01:00
, hicolor_icon_theme, libsoup}:
let
download_root = "http://homebank.free.fr/public/";
2016-10-16 18:28:38 +01:00
name = "homebank-5.1";
lastrelease = download_root + name + ".tar.gz";
oldrelease = download_root + "old/" + name + ".tar.gz";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
urls = [ lastrelease oldrelease ];
2016-10-16 18:28:38 +01:00
sha256 = "1v6za6md5sjb1r3f5lc9k03v2q68cbx6g64vcn69666c42za2aq0";
};
2016-10-16 18:28:38 +01:00
buildInputs = [ pkgconfig gtk libofx intltool hicolor_icon_theme
wrapGAppsHook libsoup ];
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;
};
}