···
{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool, wrapGAppsHook
2
-
, hicolor_icon_theme, libsoup}:
2
+
, hicolor_icon_theme, libsoup }:
5
-
download_root = "http://homebank.free.fr/public/";
6
-
name = "homebank-5.1.1";
7
-
lastrelease = download_root + name + ".tar.gz";
8
-
oldrelease = download_root + "old/" + name + ".tar.gz";
11
-
stdenv.mkDerivation {
4
+
stdenv.mkDerivation rec {
5
+
name = "homebank-5.1.2";
15
-
urls = [ lastrelease oldrelease ];
16
-
sha256 = "1gd4b8fsq89w486mfrclw4r1nrgh7lxp4sncbgprbz9id7f6vlww";
7
+
url = "http://homebank.free.fr/public/${name}.tar.gz";
8
+
sha256 = "09zsq5l3s8cg4slhsyybsq8v1arnhh07i0rzka3j6ahysky15pfh";
19
-
buildInputs = [ pkgconfig gtk libofx intltool hicolor_icon_theme
20
-
wrapGAppsHook libsoup ];
11
+
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
12
+
buildInputs = [ gtk libofx intltool hicolor_icon_theme libsoup ];
14
+
meta = with stdenv.lib; {
description = "Free, easy, personal accounting for everyone";
homepage = http://homebank.free.fr/;
25
-
license = stdenv.lib.licenses.gpl2Plus;
26
-
maintainers = with stdenv.lib.maintainers; [viric];
27
-
platforms = with stdenv.lib.platforms; linux;
17
+
license = licenses.gpl2Plus;
18
+
maintainers = with maintainers; [ viric pSub ];
19
+
platforms = platforms.linux;