From e5c525b5a274cf94dde329794999b9166a6352df Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sun, 11 Dec 2016 20:07:42 +0100 Subject: homebank: 5.1.1 -> 5.1.2 simplify and add myself as maintainer --- pkgs/applications/office/homebank/default.nix | 30 ++++++++++----------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'pkgs') diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix index 5ee14c81e94..50c80f65949 100644 --- a/pkgs/applications/office/homebank/default.nix +++ b/pkgs/applications/office/homebank/default.nix @@ -1,29 +1,21 @@ { fetchurl, stdenv, gtk, pkgconfig, libofx, intltool, wrapGAppsHook -, hicolor_icon_theme, libsoup}: - -let - download_root = "http://homebank.free.fr/public/"; - name = "homebank-5.1.1"; - lastrelease = download_root + name + ".tar.gz"; - oldrelease = download_root + "old/" + name + ".tar.gz"; -in - -stdenv.mkDerivation { - inherit name; +, hicolor_icon_theme, libsoup }: +stdenv.mkDerivation rec { + name = "homebank-5.1.2"; src = fetchurl { - urls = [ lastrelease oldrelease ]; - sha256 = "1gd4b8fsq89w486mfrclw4r1nrgh7lxp4sncbgprbz9id7f6vlww"; + url = "http://homebank.free.fr/public/${name}.tar.gz"; + sha256 = "09zsq5l3s8cg4slhsyybsq8v1arnhh07i0rzka3j6ahysky15pfh"; }; - buildInputs = [ pkgconfig gtk libofx intltool hicolor_icon_theme - wrapGAppsHook libsoup ]; + nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; + buildInputs = [ gtk libofx intltool hicolor_icon_theme libsoup ]; - meta = { + meta = with stdenv.lib; { 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; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ viric pSub ]; + platforms = platforms.linux; }; } -- cgit 1.4.1