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
{
lib,
fetchFromGitHub,
python3Packages,
libadwaita,
wrapGAppsHook4,
meson,
ninja,
pkg-config,
libsecret,
gtk4,
blueprint-compiler,
desktop-file-utils,
}:
python3Packages.buildPythonApplication rec {
pname = "nocturne";
version = "1.0.1";
pyproject = false;
src = fetchFromGitHub {
owner = "Jeffser";
repo = "Nocturne";
tag = version;
hash = "sha256-nW8DCziEERN6xamT+eS6eGTnoNWG6OTdgLb4E2FIzXQ=";
};
nativeBuildInputs = [
wrapGAppsHook4
meson
ninja
pkg-config
gtk4
blueprint-compiler
desktop-file-utils
];
buildInputs = [
libadwaita
libsecret
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = {
description = " An Adwaita Music Player / Library Manager ";
changelog = "https://github.com/Jeffser/Nocturne/releases/tag/${version}";
homepage = "https://github.com/Jeffser/Nocturne";
license = lib.licenses.gpl3;
mainProgram = "nocturne";
maintainers = with lib.maintainers; [ zaphyra ];
};
}