mmex: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-15 11:26:51 +01:00
parent f8684d34e9
commit ee2a1e3a19

View file

@ -1,35 +1,32 @@
{ lib, stdenv, fetchgit, sqlite, wxGTK30, gettext, wrapGAppsHook }: { lib, stdenv, fetchFromGitHub, sqlite, wxGTK30, gettext, wrapGAppsHook }:
stdenv.mkDerivation rec {
let pname = "money-manager-ex";
version = "1.3.3"; version = "1.3.3";
in
stdenv.mkDerivation {
pname = "money-manager-ex";
inherit version;
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/moneymanagerex/moneymanagerex.git"; owner = "moneymanagerex";
rev = "refs/tags/v${version}"; repo = "moneymanagerex";
sha256 = "0r4n93z3scv0i0zqflsxwv7j4yl8jy3gr0m4l30y1q8qv0zj9n74"; rev = "refs/tags/v${version}";
}; sha256 = "sha256-5NgkP9gY4eDBoKSC/IaXiHoiz+ZdU4c/iGAzPf5IlmQ=";
};
nativeBuildInputs = [ nativeBuildInputs = [
wrapGAppsHook wrapGAppsHook
]; ];
buildInputs = [ buildInputs = [
gettext gettext
sqlite sqlite
wxGTK30 wxGTK30
wxGTK30.gtk wxGTK30.gtk
]; ];
meta = { meta = {
description = "Easy-to-use personal finance software"; description = "Easy-to-use personal finance software";
homepage = "https://www.moneymanagerex.org/"; homepage = "https://www.moneymanagerex.org/";
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [viric]; maintainers = with lib.maintainers; [viric];
platforms = with lib.platforms; linux; platforms = with lib.platforms; linux;
}; };
} }