diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-07-29 11:39:56 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-07-29 13:04:07 +0200 |
commit | b714a38bba7ed15002b16f498dec52455f0c8950 (patch) | |
tree | 3559ab7060b02f65b2d606a4653a1247c7525ade /pkgs/development/python-modules/cycler | |
parent | 369fde13a37d3b314a284339ad6353f308182643 (diff) | |
download | nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar.gz nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar.bz2 nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar.lz nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar.xz nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.tar.zst nixlib-b714a38bba7ed15002b16f498dec52455f0c8950.zip |
python.pkgs.cycler: move expression
Diffstat (limited to 'pkgs/development/python-modules/cycler')
-rw-r--r-- | pkgs/development/python-modules/cycler/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cycler/default.nix b/pkgs/development/python-modules/cycler/default.nix new file mode 100644 index 000000000000..e182f55cdc00 --- /dev/null +++ b/pkgs/development/python-modules/cycler/default.nix @@ -0,0 +1,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 = http://github.com/matplotlib/cycler; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ fridh ]; + }; +} \ No newline at end of file |