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