diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-06-19 09:06:37 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-06-19 09:15:04 +0100 |
commit | ab2c7a29e70a60b9d59595b376b945ea8b2e4feb (patch) | |
tree | 5d796e9b50a9919883959fb4e3f55d47a6f61160 /pkgs/development/python-modules/eyed3 | |
parent | 343594f2bdad7dedb58f95d76bd60eadf8a3d18a (diff) | |
download | nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar.gz nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar.bz2 nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar.lz nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar.xz nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.tar.zst nixpkgs-ab2c7a29e70a60b9d59595b376b945ea8b2e4feb.zip |
eyeD3: fix dependencies
Diffstat (limited to 'pkgs/development/python-modules/eyed3')
-rw-r--r-- | pkgs/development/python-modules/eyed3/default.nix | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/eyed3/default.nix b/pkgs/development/python-modules/eyed3/default.nix index 11aeca8127b..321c26542d1 100644 --- a/pkgs/development/python-modules/eyed3/default.nix +++ b/pkgs/development/python-modules/eyed3/default.nix @@ -1,15 +1,14 @@ { stdenv , buildPythonPackage , fetchPypi -, pythonAtLeast , pythonOlder -, paver , python , isPyPy , six -, pathlib -, python_magic , lib +, filetype +, deprecation +, dataclasses }: buildPythonPackage rec { @@ -22,18 +21,13 @@ buildPythonPackage rec { sha256 = "faf5806197f2093e82c2830d41f2378f07b3a9da07a16fafb14fc6fbdebac50a"; }; - # https://github.com/nicfit/eyeD3/pull/284 - postPatch = lib.optionalString (pythonAtLeast "3.4") '' - sed -ie '/pathlib/d' requirements/requirements.yml - ''; - - buildInputs = [ paver ]; - # requires special test data: # https://github.com/nicfit/eyeD3/blob/103198e265e3279384f35304e8218be6717c2976/Makefile#L97 doCheck = false; - propagatedBuildInputs = [ six python_magic ] ++ lib.optional (pythonOlder "3.4") pathlib; + propagatedBuildInputs = [ + six filetype deprecation + ] ++ lib.optional (pythonOlder "3.7") dataclasses; postInstall = '' for prog in "$out/bin/"*; do @@ -55,5 +49,4 @@ buildPythonPackage rec { and v2.3/v2.4. ''; }; - } |