blob: fd95125e5332a928328e9ac3f0f1b0296f7243e6 (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "ytmusicapi";
version = "1.11.4";
pyproject = true;
src = fetchFromGitHub {
owner = "sigma67";
repo = "ytmusicapi";
tag = version;
hash = "sha256-BumEdKosAe6A0K6Im8gVNMW89iljlvgbKSEo60/DpYg=";
};
build-system = [ setuptools-scm ];
dependencies = [ requests ];
doCheck = false; # requires network access
pythonImportsCheck = [ "ytmusicapi" ];
meta = {
description = "Python API for YouTube Music";
homepage = "https://github.com/sigma67/ytmusicapi";
changelog = "https://github.com/sigma67/ytmusicapi/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
mainProgram = "ytmusicapi";
};
}
|