1 { lib, fetchFromGitHub, beets, python3Packages }:
3 python3Packages.buildPythonApplication {
4 pname = "beets-extrafiles";
5 version = "unstable-2020-12-13";
7 src = fetchFromGitHub {
8 repo = "beets-extrafiles";
10 rev = "a1d6ef9a9682b6bf7af9483541e56a3ff12247b8";
11 sha256 = "sha256-ajuEbieWjTCNjdRZuGUwvStZwjx260jmY0m+ZqNd7ec=";
15 sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
16 sed -i -e '/namespace_packages/d' setup.py
17 sed -i -e 's/mediafile~=0.6.0/mediafile>=0.6.0/' setup.py
20 propagatedBuildInputs = with python3Packages; [ mediafile ];
23 python3Packages.pytestCheckHook
32 homepage = "https://github.com/Holzhaus/beets-extrafiles";
33 description = "A plugin for beets that copies additional files and directories during the import process";
34 license = lib.licenses.mit;
35 inherit (beets.meta) platforms;