depot/third_party/nixpkgs/pkgs/development/python-modules/chromaprint/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

32 lines
608 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, m2r
}:
buildPythonPackage rec {
pname = "chromaprint";
version = "0.5";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}