mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
d9910fc928
Highlights: * We now have a beets-unstable * We now run tests for beets-minimal * We're much more strict about the effects of enabling/disabling plugins * All patches but one were dropped * Removal of deprecated nose in favor of pytest * Art resizing is working better now
33 lines
866 B
Nix
33 lines
866 B
Nix
{ lib, fetchFromGitHub, beets, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "beets-alternatives";
|
|
version = "unstable-2021-02-01";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "beets-alternatives";
|
|
owner = "geigerzaehler";
|
|
rev = "288299e3aa9a1602717b04c28696fce5ce4259bf";
|
|
sha256 = "sha256-Xl7AHr33hXQqQDuFbWuj8HrIugeipJFPmvNXpCkU/mI=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.cfg \
|
|
--replace "addopts = --cov --cov-report=term --cov-report=html" ""
|
|
'';
|
|
|
|
nativeBuildInputs = [ beets ];
|
|
|
|
checkInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
mock
|
|
];
|
|
|
|
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;
|
|
};
|
|
}
|