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