blob: 96bc33466dd54126f4aaab86a5789036eea0e3d6 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
setuptools,
ytmusicapi,
yt-dlp,
beets-minimal,
pytestCheckHook,
writableTmpDirAsHomeHook,
nix-update-script,
}:
buildPythonPackage rec {
pname = "beets-ytimport";
version = "1.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mgoltzsche";
repo = "beets-ytimport";
tag = "v${version}";
hash = "sha256-EwSL1rBEPTcMfrlTkQcqRuhR8OtibBZqA0qQz4+qLEw=";
};
build-system = [ setuptools ];
dependencies = [
ytmusicapi
yt-dlp
];
nativeBuildInputs = [
beets-minimal
];
nativeCheckInputs = [
writableTmpDirAsHomeHook
pytestCheckHook
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/mgoltzsche/beets-ytimport/releases/tag/v${version}";
description = "Beets plugin to import music from Youtube and SoundCloud";
homepage = "https://github.com/mgoltzsche/beets-ytimport";
maintainers = with lib.maintainers; [ pyrox0 ];
license = lib.licenses.asl20;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}
|