Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
74 lines
1.4 KiB
Nix
74 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
blueprint-compiler,
|
|
desktop-file-utils,
|
|
gtk4,
|
|
gst_all_1,
|
|
libsoup_3,
|
|
libadwaita,
|
|
wrapGAppsHook4,
|
|
nix-update-script,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "valuta";
|
|
version = "1.3.2";
|
|
|
|
pyproject = false;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ideveCore";
|
|
repo = "Valuta";
|
|
rev = "v${version}";
|
|
hash = "sha256-g2x+pqs7dXdTMSxzSU5TeQtE+Q+tdQ93xaMtUVEE5/U=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
gst_all_1.gstreamer
|
|
libsoup_3
|
|
libadwaita
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
babel
|
|
dbus-python
|
|
pygobject3
|
|
];
|
|
|
|
dontWrapGApps = true;
|
|
|
|
# Arguments to be passed to `makeWrapper`, only used by buildPython*
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Simple application for converting currencies, with support for various APIs";
|
|
homepage = "https://github.com/ideveCore/Valuta";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ arthsmn ];
|
|
teams = [ teams.gnome-circle ];
|
|
mainProgram = "currencyconverter";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|