1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6 m2r, 7}: 8 9buildPythonPackage rec { 10 pname = "chromaprint"; 11 version = "0.5"; 12 format = "setuptools"; 13 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-d4M+ieNQpIXcnEH1WyIWnTYZe3P+Y58W0uz1uYPwLQE="; 19 }; 20 21 buildInputs = [ m2r ]; 22 23 # no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "chromaprint" ]; 27 28 meta = with lib; { 29 description = "Facilitate effortless color terminal output"; 30 homepage = "https://pypi.org/project/${pname}/"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ 33 dschrempf 34 peterhoeg 35 ]; 36 }; 37}