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

28 lines
756 B
Nix
Raw Normal View History

{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool }:
let
download_root = "http://homebank.free.fr/public/";
2015-02-20 23:16:29 +01:00
name = "homebank-5.0.0";
lastrelease = download_root + name + ".tar.gz";
oldrelease = download_root + "old/" + name + ".tar.gz";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
urls = [ lastrelease oldrelease ];
2015-02-20 23:16:29 +01:00
sha256 = "062r61ryn2v1sxyw6zymhxnvnhk19wsr4nyzmiiwx5wrk0nk9m18";
};
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;
};
}