nixpkgs/pkgs/development/python-modules/chromaprint/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

33 lines
606 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, m2r
}:
buildPythonPackage rec {
pname = "chromaprint";
version = "0.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-d4M+ieNQpIXcnEH1WyIWnTYZe3P+Y58W0uz1uYPwLQE=";
};
buildInputs = [ m2r ];
# no tests
doCheck = false;
pythonImportsCheck = [ "chromaprint" ];
meta = with lib; {
description = "Facilitate effortless color terminal output";
homepage = "https://pypi.org/project/${pname}/";
license = licenses.mit;
maintainers = with maintainers; [ dschrempf peterhoeg ];
};
}