mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 19:15:39 +00:00
bef2a43957
I've introduced the plugin and have been maintaining it ever since, so it's time to make myself the official maintainer in order to avoid confusion about who to address when issues about the alternatives plugin arise. Signed-off-by: aszlig <aszlig@nix.build> Cc: @wisp3rwind
26 lines
748 B
Nix
26 lines
748 B
Nix
{ stdenv, fetchFromGitHub, beets, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "beets-alternatives-${version}";
|
|
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;
|
|
};
|
|
}
|