summary refs log tree commit diff
path: root/pkgs/development/python-modules/chromaprint/default.nix
blob: 2a07a4eb6dce6fa2ffe9767ad179f8dd11f2196a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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 ];
  };
}