1 { lib, fetchFromGitHub, beets, python3Packages }:
3 python3Packages.buildPythonApplication {
4 pname = "beets-copyartifacts";
5 version = "unstable-2020-02-15";
7 src = fetchFromGitHub {
8 repo = "beets-copyartifacts";
9 owner = "adammillerio";
10 rev = "85eefaebf893cb673fa98bfde48406ec99fd1e4b";
11 sha256 = "sha256-bkT2BZZ2gdcacgvyrVe2vMrOMV8iMAm8Q5xyrZzyqU0=";
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" ];
22 checkInputs = with python3Packages; [
29 description = "Beets plugin to move non-music files during the import process";
30 homepage = "https://github.com/sbarakat/beets-copyartifacts";
31 license = lib.licenses.mit;
32 inherit (beets.meta) platforms;