2017-07-29 10:39:56 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, coverage
|
|
|
|
, nose
|
|
|
|
, six
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cycler";
|
2021-11-25 22:46:43 +00:00
|
|
|
version = "0.11.0";
|
2017-07-29 10:39:56 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-11-25 22:46:43 +00:00
|
|
|
sha256 = "9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f";
|
2017-07-29 10:39:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/matplotlib/cycler";
|
2017-07-29 10:39:56 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
|
|
};
|
2020-04-01 02:11:51 +01:00
|
|
|
}
|