1{
2 lib,
3 fetchFromGitHub,
4 beets,
5 python3Packages,
6 writableTmpDirAsHomeHook,
7}:
8
9python3Packages.buildPythonApplication rec {
10 pname = "beets-alternatives";
11 version = "0.13.3";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 repo = "beets-alternatives";
16 owner = "geigerzaehler";
17 tag = "v${version}";
18 hash = "sha256-j56AzbpZFACXy5KqafE8PCC+zM6pXrxr/rWy9UjZPQg=";
19 };
20
21 nativeBuildInputs = [
22 beets
23 ];
24
25 dependencies = [
26 python3Packages.poetry-core
27 ];
28
29 nativeCheckInputs =
30 with python3Packages;
31 [
32 pytestCheckHook
33 pytest-cov-stub
34 mock
35 pillow
36 typeguard
37 ]
38 ++ [
39 writableTmpDirAsHomeHook
40 ];
41
42 meta = {
43 description = "Beets plugin to manage external files";
44 homepage = "https://github.com/geigerzaehler/beets-alternatives";
45 changelog = "https://github.com/geigerzaehler/beets-alternatives/blob/v${version}/CHANGELOG.md";
46 maintainers = with lib.maintainers; [
47 aszlig
48 lovesegfault
49 ];
50 license = lib.licenses.mit;
51 };
52}