tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
audiotube: init at 21.08
Samuel Dionne-Riel
4 years ago
2837f21e
b9ecb689
+62
2 changed files
expand all
collapse all
unified
split
pkgs
applications
plasma-mobile
audiotube.nix
default.nix
+61
pkgs/applications/plasma-mobile/audiotube.nix
···
1
1
+
{ lib
2
2
+
, mkDerivation
3
3
+
, fetchpatch
4
4
+
5
5
+
, extra-cmake-modules
6
6
+
7
7
+
, kcoreaddons
8
8
+
, kcrash
9
9
+
, ki18n
10
10
+
, kirigami2
11
11
+
, qtmultimedia
12
12
+
, qtquickcontrols2
13
13
+
, python3Packages
14
14
+
}:
15
15
+
16
16
+
mkDerivation rec {
17
17
+
pname = "audiotube";
18
18
+
19
19
+
patches = [
20
20
+
# Fix compatibility with ytmusicapi 0.19.1
21
21
+
(fetchpatch {
22
22
+
url = "https://invent.kde.org/plasma-mobile/audiotube/-/commit/734caa02805988200f923b88d1590b3f7dac8ac2.patch";
23
23
+
sha256 = "0zq4f0w84dv0630bpvmqkfmhxbvibr2fxhzy6d2mnf098028gzyd";
24
24
+
})
25
25
+
];
26
26
+
27
27
+
nativeBuildInputs = [
28
28
+
extra-cmake-modules
29
29
+
python3Packages.wrapPython
30
30
+
python3Packages.pybind11
31
31
+
];
32
32
+
33
33
+
buildInputs = [
34
34
+
kcoreaddons
35
35
+
kcrash
36
36
+
ki18n
37
37
+
kirigami2
38
38
+
qtmultimedia
39
39
+
qtquickcontrols2
40
40
+
python3Packages.youtube-dl
41
41
+
python3Packages.ytmusicapi
42
42
+
];
43
43
+
44
44
+
pythonPath = [
45
45
+
python3Packages.youtube-dl
46
46
+
python3Packages.ytmusicapi
47
47
+
];
48
48
+
49
49
+
preFixup = ''
50
50
+
buildPythonPath "$pythonPath"
51
51
+
qtWrapperArgs+=(--prefix PYTHONPATH : "$program_PYTHONPATH")
52
52
+
'';
53
53
+
54
54
+
meta = with lib; {
55
55
+
description = "Client for YouTube Music";
56
56
+
homepage = "https://invent.kde.org/plasma-mobile/audiotube";
57
57
+
# https://invent.kde.org/plasma-mobile/audiotube/-/tree/c503d0607a3386112beaa9cf990ab85fe33ef115/LICENSES
58
58
+
license = with licenses; [ bsd2 cc0 gpl2Only gpl3Only ];
59
59
+
maintainers = with maintainers; [ samueldr ];
60
60
+
};
61
61
+
}
+1
pkgs/applications/plasma-mobile/default.nix
···
62
62
};
63
63
in {
64
64
alligator = callPackage ./alligator.nix {};
65
65
+
audiotube = callPackage ./audiotube.nix {};
65
66
calindori = callPackage ./calindori.nix {};
66
67
kalk = callPackage ./kalk.nix {};
67
68
kasts = callPackage ./kasts.nix {};