1{ lib
2, buildPythonPackage
3, fetchPypi
4, coverage
5, nose
6, six
7, python
8}:
9
10buildPythonPackage rec {
11 pname = "cycler";
12 version = "0.10.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8";
17 };
18
19 checkInputs = [ coverage nose ];
20 propagatedBuildInputs = [ six ];
21
22 checkPhase = ''
23 ${python.interpreter} run_tests.py
24 '';
25
26 # Tests were not included in release.
27 # https://github.com/matplotlib/cycler/issues/31
28 doCheck = false;
29
30 meta = {
31 description = "Composable style cycles";
32 homepage = "https://github.com/matplotlib/cycler";
33 license = lib.licenses.bsd3;
34 maintainers = with lib.maintainers; [ fridh ];
35 };
36}