Files
nixpkgs/pkgs/development/python-modules/palettable/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

37 lines
783 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 = "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 ];
};
}