python2Packages.mutagen: freeze at 1.43

This commit is contained in:
Jonathan Ringer 2020-06-16 14:09:02 -07:00
parent f6626b6842
commit d017475b75
2 changed files with 39 additions and 1 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, hypothesis
, pycodestyle
, pyflakes
, pytest
, setuptools
, pkgs
}:
buildPythonPackage rec {
pname = "mutagen";
version = "1.43.0";
src = fetchPypi {
inherit pname version;
sha256 = "125m0pkiw5lsffc0236xdlxfhwpr8csvxpmg6855405qy4wjv61s";
};
propagatedBuildInputs = [ setuptools ];
checkInputs = [
pkgs.faad2 pkgs.flac pkgs.vorbis-tools pkgs.liboggz
pkgs.glibcLocales pycodestyle pyflakes pytest hypothesis
];
LC_ALL = "en_US.UTF-8";
meta = with lib; {
description = "Python multimedia tagging library";
homepage = "https://mutagen.readthedocs.io";
license = licenses.lgpl2Plus;
platforms = platforms.all;
};
}

View file

@ -4655,7 +4655,10 @@ in {
mutag = callPackage ../development/python-modules/mutag { };
mutagen = callPackage ../development/python-modules/mutagen { };
mutagen = if isPy27 then
callPackage ../development/python-modules/mutagen/1.43.nix { }
else
callPackage ../development/python-modules/mutagen { };
muttils = callPackage ../development/python-modules/muttils { };