1 { lib, fetchFromGitHub, beets, python3Packages }:
3 python3Packages.buildPythonApplication rec {
4 pname = "beets-copyartifacts";
7 src = fetchFromGitHub {
8 repo = "beets-copyartifacts";
9 owner = "adammillerio";
11 sha256 = "sha256-UTZh7T6Z288PjxFgyFxHnPt0xpAH3cnr8/jIrlJhtyU=";
15 sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
16 sed -i -e '/namespace_packages/d' setup.py
17 printf 'from pkgutil import extend_path\n__path__ = extend_path(__path__, __name__)\n' >beetsplug/__init__.py
20 pytestFlagsArray = [ "-r fEs" ];
23 python3Packages.pytestCheckHook
27 export HOME=$(mktemp -d)
31 description = "Beets plugin to move non-music files during the import process";
32 homepage = "https://github.com/adammillerio/beets-copyartifacts";
33 license = lib.licenses.mit;
34 inherit (beets.meta) platforms;