Skip to content

Commit

Permalink
beets: copyartifacts plugin: replace usages of removed function
Browse files Browse the repository at this point in the history
  • Loading branch information
montchr committed Nov 23, 2024
1 parent 0995bdf commit 1d6a89e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/audio/beets/plugins/copyartifacts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ python3Packages.buildPythonApplication rec {
sed -i -e '/install_requires/,/\]/{/beets/d}' setup.py
sed -i -e '/namespace_packages/d' setup.py
printf 'from pkgutil import extend_path\n__path__ = extend_path(__path__, __name__)\n' >beetsplug/__init__.py
# beets v2.1.0 compat
# <https://github.com/beetbox/beets/commit/0e87389994a9969fa0930ffaa607609d02e286a8>
sed -i -e 's/util\.py3_path/os.fsdecode/g' tests/_common.py
'';

pytestFlagsArray = [ "-r fEs" ];
Expand Down

0 comments on commit 1d6a89e

Please sign in to comment.