depot/third_party/nixpkgs/pkgs/development/python-modules/palettable/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

39 lines
790 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "palettable";
version = "3.3.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-CU3X2aX8HMpIVHc+XB/GoxWzO9WzqPRwZJKPrK8EkKg=";
};
nativeBuildInputs = [
setuptools
];
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 ];
};
}