0faf72a557
The maintainer has stopped cutting releases[1]. Since the last release, 1.4.9, includes a dependency that is filled with hate speech[2] it's all the more reason to package the unstable version and eliminate that requirement. Moreover a number of fixes, improvements, and features have landed since. [1]: https://github.com/beetbox/beets/issues/3625 [2]: https://github.com/NixOS/nixpkgs/pull/90504 Co-authored-by: Doron Behar <doron.behar@gmail.com>
26 lines
740 B
Nix
26 lines
740 B
Nix
{ stdenv, fetchFromGitHub, beets, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "beets-alternatives";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "beets-alternatives";
|
|
owner = "geigerzaehler";
|
|
# This is 0.8.2 with fixes against Beets 1.4.6 and Python 3 compatibility.
|
|
rev = "v${version}";
|
|
sha256 = "19160gwg5j6asy8mc21g2kf87mx4zs9x2gbk8q4r6330z4kpl5pm";
|
|
};
|
|
|
|
nativeBuildInputs = [ beets pythonPackages.nose ];
|
|
|
|
checkPhase = "nosetests";
|
|
|
|
meta = {
|
|
description = "Beets plugin to manage external files";
|
|
homepage = "https://github.com/geigerzaehler/beets-alternatives";
|
|
maintainers = [ stdenv.lib.maintainers.aszlig ];
|
|
license = stdenv.lib.licenses.mit;
|
|
};
|
|
}
|