at master 728 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # tests 10 pytest-xdist, 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "cycler"; 16 version = "0.12.1"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "matplotlib"; 21 repo = "cycler"; 22 tag = "v${version}"; 23 hash = "sha256-5L0APSi/mJ85SuKCVz+c6Fn8zZNpRm6vCeBO0fpGKxg="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 nativeCheckInputs = [ 29 pytest-xdist 30 pytestCheckHook 31 ]; 32 33 meta = { 34 changelog = "https://github.com/matplotlib/cycler/releases/tag/v${version}"; 35 description = "Composable style cycles"; 36 homepage = "https://github.com/matplotlib/cycler"; 37 license = lib.licenses.bsd3; 38 }; 39}