about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cycler/default.nix
blob: fae2ae30b33669337befd8906ad6ea6504933f6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # tests
  pytest-xdist,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "cycler";
  version = "0.12.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "matplotlib";
    repo = "cycler";
    rev = "refs/tags/v${version}";
    hash = "sha256-5L0APSi/mJ85SuKCVz+c6Fn8zZNpRm6vCeBO0fpGKxg=";
  };

  nativeBuildInputs = [ setuptools ];

  nativeCheckInputs = [
    pytest-xdist
    pytestCheckHook
  ];

  meta = {
    changelog = "https://github.com/matplotlib/cycler/releases/tag/v${version}";
    description = "Composable style cycles";
    homepage = "https://github.com/matplotlib/cycler";
    license = lib.licenses.bsd3;
  };
}