nixpkgs-suyu/pkgs/tools/audio/beets/alternatives-plugin.nix
aszlig 662ab05119
beets: Add the external beets-alternatives plugin
It's not included in upstream beets but are linked in the documentation
under "Other plugins", see:

http://beets.readthedocs.org/en/v1.3.15/plugins/index.html#other-plugins

I found this one particularly useful for syncing files to varios media
players that refuse to read my FLAC files properly.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-18 05:58:27 +01:00

25 lines
673 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub, pythonPackages }:
buildPythonPackage rec {
name = "beets-alternatives-${version}";
version = "0.8.2";
src = fetchFromGitHub {
repo = "beets-alternatives";
owner = "geigerzaehler";
rev = "v${version}";
sha256 = "10za6h59pxa13y8i4amqhc6392csml0dl771lssv6b6a98kamsy7";
};
postPatch = ''
sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
'';
propagatedBuildInputs = with pythonPackages; [ futures ];
meta = {
description = "Beets plugin to manage external files";
homepage = "https://github.com/geigerzaehler/beets-alternatives";
license = stdenv.lib.licenses.mit;
};
}