depot/third_party/nixpkgs/pkgs/tools/audio/beets/plugins/alternatives.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
718 B
Nix

{ 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 = [ lib.maintainers.aszlig ];
license = lib.licenses.mit;
};
}