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