1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:14:25 +00:00
nixpkgs/pkgs/applications/office/homebank/default.nix

30 lines
844 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-11-11 15:34:11 +00:00
name = "homebank-5.1.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-11-11 15:34:11 +00:00
sha256 = "1gd4b8fsq89w486mfrclw4r1nrgh7lxp4sncbgprbz9id7f6vlww";
};
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;
};
}