summary refs log tree commit diff
path: root/pkgs/development/python-modules/cycler/default.nix
blob: 7326f2cf3b4b6bb7e22b46db5c08fa29e7b0538a (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
33
34
35
36
37
{ lib
, buildPythonPackage
, fetchPypi
, coverage
, nose
, six
, python
}:

buildPythonPackage rec {
  pname = "cycler";
  name = "${pname}-${version}";
  version = "0.10.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8";
  };

  checkInputs = [ coverage nose ];
  propagatedBuildInputs = [ six ];

  checkPhase = ''
    ${python.interpreter} run_tests.py
  '';

  # Tests were not included in release.
  # https://github.com/matplotlib/cycler/issues/31
  doCheck = false;

  meta = {
    description = "Composable style cycles";
    homepage = https://github.com/matplotlib/cycler;
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ fridh ];
  };
}