@@ -1,35 +1,32 @@
1−{ lib, stdenv, fetchgit, sqlite, wxGTK30, gettext, wrapGAppsHook }:
1+{ lib, stdenv, fetchFromGitHub, sqlite, wxGTK30, gettext, wrapGAppsHook }:
22
3−
4−let
3+stdenv.mkDerivation rec {
4+ pname = "money-manager-ex";
55 version = "1.3.3";
6−in
7− stdenv.mkDerivation {
8− pname = "money-manager-ex";
9− inherit version;
106
11− src = fetchgit {
12− url = "https://github.com/moneymanagerex/moneymanagerex.git";
13− rev = "refs/tags/v${version}";
14− sha256 = "0r4n93z3scv0i0zqflsxwv7j4yl8jy3gr0m4l30y1q8qv0zj9n74";
15− };
7+ src = fetchFromGitHub {
8+ owner = "moneymanagerex";
9+ repo = "moneymanagerex";
10+ rev = "refs/tags/v${version}";
11+ sha256 = "sha256-5NgkP9gY4eDBoKSC/IaXiHoiz+ZdU4c/iGAzPf5IlmQ=";
12+ };
1613
17− nativeBuildInputs = [
18− wrapGAppsHook
19− ];
14+ nativeBuildInputs = [
15+ wrapGAppsHook
16+ ];
2017
21− buildInputs = [
22− gettext
23− sqlite
24− wxGTK30
25− wxGTK30.gtk
26− ];
18+ buildInputs = [
19+ gettext
20+ sqlite
21+ wxGTK30
22+ wxGTK30.gtk
23+ ];
2724
28− meta = {
29− description = "Easy-to-use personal finance software";
30− homepage = "https://www.moneymanagerex.org/";
31− license = lib.licenses.gpl2Plus;
32− maintainers = with lib.maintainers; [viric];
33− platforms = with lib.platforms; linux;
34− };
35− }
25+ meta = {
26+ description = "Easy-to-use personal finance software";
27+ homepage = "https://www.moneymanagerex.org/";
28+ license = lib.licenses.gpl2Plus;
29+ maintainers = with lib.maintainers; [viric];
30+ platforms = with lib.platforms; linux;
31+ };
32+}