1{ lib
2, buildPythonPackage
3, fetchPypi
4, coverage
5, nose
6, six
7, python
8}:
9
10buildPythonPackage rec {
11 pname = "cycler";
12 version = "0.11.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f";
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}