bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
36 lines
837 B
Nix
36 lines
837 B
Nix
{ lib, fetchFromGitHub, beets, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "beets-alternatives";
|
|
version = "0.11.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "beets-alternatives";
|
|
owner = "geigerzaehler";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ORmF7YOQD4LvKiYo4Rzz+mzppOEvLics58aOK/IKcHc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
beets
|
|
python3Packages.poetry-core
|
|
];
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
pytest-cov
|
|
mock
|
|
typeguard
|
|
];
|
|
preCheck = ''
|
|
export HOME=$(mktemp -d)
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Beets plugin to manage external files";
|
|
homepage = "https://github.com/geigerzaehler/beets-alternatives";
|
|
maintainers = with maintainers; [ aszlig lovesegfault ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|