Merge pull request #171902 from r-ryantm/auto-update/python3.10-py3exiv2

python310Packages.py3exiv2: 0.9.3 -> 0.11.0

authored by Fabian Affolter and committed by GitHub 5264e2ef cc0d5ad8

+31 -9
+31 -9
pkgs/development/python-modules/py3exiv2/default.nix
··· 1 - { lib, buildPythonPackage, isPy3k, fetchPypi, stdenv, exiv2, boost, libcxx }: 1 + { lib 2 + , stdenv 3 + , boost 4 + , buildPythonPackage 5 + , exiv2 6 + , fetchPypi 7 + , libcxx 8 + , pythonOlder 9 + }: 2 10 3 11 buildPythonPackage rec { 4 12 pname = "py3exiv2"; 5 - version = "0.9.3"; 6 - disabled = !(isPy3k); 13 + version = "0.11.0"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 7 17 8 18 src = fetchPypi { 9 19 inherit pname version; 10 - sha256 = "838836e58ca22557d83d1f0ef918bcce899b4c2666340b924b940dcdebf1d18c"; 20 + hash = "sha256-ZgDaa4lxmdTaZhkblgRfPMxfVwENp2s6xdKSuD/MqEQ="; 11 21 }; 12 22 13 - buildInputs = [ exiv2 boost ]; 23 + buildInputs = [ 24 + boost 25 + exiv2 26 + ]; 14 27 15 - # work around python distutils compiling C++ with $CC (see issue #26709) 16 - NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; 28 + # Work around Python distutils compiling C++ with $CC (see issue #26709) 29 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [ 30 + "-I${lib.getDev libcxx}/include/c++/v1" 31 + ]; 32 + 33 + pythonImportsCheck = [ 34 + "pyexiv2" 35 + ]; 36 + 37 + # Tests are not shipped 38 + doCheck = false; 17 39 18 40 meta = with lib; { 41 + description = "Python binding to the library exiv2"; 19 42 homepage = "https://launchpad.net/py3exiv2"; 20 - description = "A Python3 binding to the library exiv2"; 21 - license = licenses.gpl3; 43 + license = licenses.gpl3Plus; 22 44 maintainers = with maintainers; [ vinymeuh ]; 23 45 platforms = with platforms; linux ++ darwin; 24 46 };