mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-25 12:23:52 -04:00
pythonPackages.audio-metadata: Fix dependencies
This commit is contained in:
parent
89466bac4a
commit
dc711a8582
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue