1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
{
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 (finalAttrs: {
pname = "valuta";
version = "1.4.2";
pyproject = false;
src = fetchFromGitHub {
owner = "ideveCore";
repo = "Valuta";
rev = "v${finalAttrs.version}";
hash = "sha256-1vcjmSXEKy6XTEPV5jiz+ZxzFFUhVnmLK6MDjqoWTHs=";
};
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 = {
description = "Simple application for converting currencies, with support for various APIs";
homepage = "https://github.com/ideveCore/Valuta";
license = lib.licenses.gpl3Plus;
maintainers = [ ];
teams = [ lib.teams.gnome-circle ];
mainProgram = "currencyconverter";
platforms = lib.platforms.linux;
};
})
|