python3Packages.catppuccin: 2.1.0 -> 1.3.2

This commit is contained in:
TomaSajt 2024-03-21 11:03:34 +01:00
parent befc64a589
commit 8de1375d5b
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -10,14 +10,18 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "catppuccin"; pname = "catppuccin";
version = "2.1.0"; version = "1.3.2";
# Note: updating to later versions breaks catppuccin-gtk
# It would be ideal to only update this after catppuccin-gtk
# gets support for the newer version
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
repo = "python"; repo = "python";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-/RINDyO0cngDy9APqsFHBFBKi8aDf7Tah/IIFdXQURo="; hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik=";
}; };
build-system = [ build-system = [
@ -34,6 +38,11 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies); ] ++ lib.flatten (lib.attrValues optional-dependencies);
# can be removed next version
disabledTestPaths = [
"tests/test_flavour.py" # would download a json to check correctness of flavours
];
pythonImportsCheck = [ "catppuccin" ]; pythonImportsCheck = [ "catppuccin" ];
meta = { meta = {