pythonPackages.audio-metadata: Fix dependencies

This commit is contained in:
Sandro Jäckel 2021-01-05 16:14:17 +01:00
parent 89466bac4a
commit dc711a8582
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
{ lib, buildPythonPackage, fetchPypi
, attrs
, bidict
, bitstruct
@ -18,9 +18,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "bidict>=0.17,<0.18" "bidict" \
--replace "more-itertools>=4.0,<8.0" "more-itertools" \
--replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum>=2.0,<=3.0"
--replace "'attrs>=18.2,<19.4'" "'attrs'"
'';
propagatedBuildInputs = [
@ -35,8 +33,6 @@ buildPythonPackage rec {
# No tests
doCheck = false;
disabled = pythonOlder "3.6";
meta = with lib; {
homepage = "https://github.com/thebigmunch/audio-metadata";
description = "A library for reading and, in the future, writing metadata from audio files";