depot/third_party/nixpkgs/pkgs/development/python-modules/cycler/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

39 lines
738 B
Nix

{
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;
};
}