2016-09-27 00:01:13 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages }:
|
2015-12-18 05:34:46 +01:00
|
|
|
|
2016-09-27 00:01:13 +02:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2015-12-18 05:34:46 +01:00
|
|
|
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
|
2017-09-02 01:50:36 +02:00
|
|
|
sed -i -e '/test_suite/d' setup.py
|
2015-12-18 05:34:46 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ futures ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Beets plugin to manage external files";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/geigerzaehler/beets-alternatives;
|
2015-12-18 05:34:46 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|