15 buildDotnetModule rec {
19 src = fetchFromGitHub {
20 owner = "NickvisionApps";
23 hash = "sha256-fEhwup8SiYvKH2FtzruEFsj8axG5g3YJ917aqc8dn/8=";
26 dotnet-sdk = dotnetCorePackages.sdk_8_0;
27 dotnet-runtime = dotnetCorePackages.runtime_8_0;
29 projectFile = "NickvisionMoney.GNOME/NickvisionMoney.GNOME.csproj";
30 nugetDeps = ./deps.nix;
31 executables = "NickvisionMoney.GNOME";
36 glib # For glib-compile-resources
37 shared-mime-info # For update-mime-database
38 gdk-pixbuf # Fixes icon missing in envs where GDK_PIXBUF_MODULE_FILE is not set
42 buildInputs = [ gtk4 libadwaita ]; # Used by blueprint-compiler
44 # Denaro switches installation tool frequently (bash -> just -> cake)
45 # For maintainability, let's do it ourselves
47 substituteInPlace NickvisionMoney.Shared/Linux/org.nickvision.money.desktop.in --replace '@EXEC@' "NickvisionMoney.GNOME"
48 install -Dm444 NickvisionMoney.Shared/Resources/org.nickvision.money.svg -t $out/share/icons/hicolor/scalable/apps/
49 install -Dm444 NickvisionMoney.Shared/Resources/org.nickvision.money-symbolic.svg -t $out/share/icons/hicolor/symbolic/apps/
50 install -Dm444 NickvisionMoney.Shared/Linux/org.nickvision.money.desktop.in -T $out/share/applications/org.nickvision.money.desktop
56 glib # Fixes "Could not retrieve parent type - is the typeid valid?"
60 passthru.updateScript = ./update.sh;
63 description = "Personal finance manager for GNOME";
64 homepage = "https://github.com/nlogozzo/NickvisionMoney";
65 mainProgram = "NickvisionMoney.GNOME";
66 license = licenses.mit;
67 changelog = "https://github.com/nlogozzo/NickvisionMoney/releases/tag/${version}";
68 maintainers = with maintainers; [ chuangzhu kashw2 ];
69 platforms = platforms.linux;