depot/third_party/nixpkgs/pkgs/development/python-modules/palettable/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

35 lines
734 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "palettable";
version = "3.3.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-aoZ8Qlov8ojqtDVr7ewA3gBt7jbJmmFHwuGwXeeJrJ8=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"palettable"
"palettable.matplotlib"
"palettable.tableau"
];
meta = with lib; {
description = "A library of color palettes";
homepage = "https://jiffyclub.github.io/palettable/";
changelog = "https://github.com/jiffyclub/palettable/blob/v${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}