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