tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
turntable: init at 0.3.3
aleksana
8 months ago
3daaf112
f32a1a84
+77
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
tu
turntable
package.nix
+77
pkgs/by-name/tu/turntable/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitea,
5
5
+
meson,
6
6
+
ninja,
7
7
+
pkg-config,
8
8
+
vala,
9
9
+
wrapGAppsHook4,
10
10
+
desktop-file-utils,
11
11
+
libadwaita,
12
12
+
libsoup_3,
13
13
+
json-glib,
14
14
+
libsecret,
15
15
+
glib-networking,
16
16
+
17
17
+
# Per the upstream request. Key owned by Aleksana
18
18
+
lastfmKey ? "b5027c5178ca2abfcc31bd04397c3c0e",
19
19
+
lastfmSecret ? "8d375bdee925a2a35f241c04272bc862",
20
20
+
}:
21
21
+
22
22
+
stdenv.mkDerivation (finalAttrs: {
23
23
+
pname = "turntable";
24
24
+
version = "0.3.3";
25
25
+
26
26
+
src = fetchFromGitea {
27
27
+
domain = "codeberg.org";
28
28
+
owner = "GeopJr";
29
29
+
repo = "Turntable";
30
30
+
tag = "v${finalAttrs.version}";
31
31
+
hash = "sha256-fBduW49eNOEzRVBb72zcB5arTjTiRUy8jE3sSMjPITE=";
32
32
+
};
33
33
+
34
34
+
nativeBuildInputs = [
35
35
+
meson
36
36
+
ninja
37
37
+
pkg-config
38
38
+
vala
39
39
+
wrapGAppsHook4
40
40
+
desktop-file-utils
41
41
+
];
42
42
+
43
43
+
buildInputs = [
44
44
+
libadwaita
45
45
+
libsoup_3
46
46
+
json-glib
47
47
+
libsecret
48
48
+
glib-networking
49
49
+
];
50
50
+
51
51
+
mesonFlags = [
52
52
+
(lib.mesonOption "lastfm_key" lastfmKey)
53
53
+
(lib.mesonOption "lastfm_secret" lastfmSecret)
54
54
+
];
55
55
+
56
56
+
strictDeps = true;
57
57
+
58
58
+
meta = {
59
59
+
description = "Scrobbles your music to multiple services with playback controls for MPRIS players";
60
60
+
longDescription = ''
61
61
+
Keep track of your listening habits by scrobbling them
62
62
+
to last.fm, ListenBrainz, Libre.fm and Maloja at the
63
63
+
same time using your favorite music app's, favorite
64
64
+
music app! Turntable comes with a highly customizable
65
65
+
and sleek design that displays information about the
66
66
+
currently playing song and allows you to control your
67
67
+
music player, allowlist it for scrobbling and manage
68
68
+
your scrobbling accounts. All MPRIS-enabled apps are
69
69
+
supported.
70
70
+
'';
71
71
+
homepage = "https://turntable.geopjr.dev";
72
72
+
license = lib.licenses.gpl3Only;
73
73
+
maintainers = with lib.maintainers; [ aleksana ];
74
74
+
mainProgram = "dev.geopjr.Turntable";
75
75
+
platforms = lib.platforms.linux;
76
76
+
};
77
77
+
})