900a04e6c9
The top-level attribute has been removed in commit771ed59b48
. This has been partially resolved in commit18bdd44729
. The latter change however only addressed the main derivations but missed out on the plugins. This is now done by just passing pythonPackages down the chain. Tested by only evaluating the expression, not building. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @domenkozar, @pjones, @profpatsch
25 lines
672 B
Nix
25 lines
672 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication 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;
|
|
};
|
|
}
|