diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-03-21 12:38:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 12:38:06 +0100 |
commit | 8c58e991d4dd761ff64b02318faca65ebe8e8091 (patch) | |
tree | 02e7843223cac27b8367cc643d185662a28de1f8 /pkgs | |
parent | 248e41b68e792076d6623c305c59ca6adaa57b2b (diff) | |
parent | 8de1375d5b92a13b0d45def46a4e86a6eba43778 (diff) |
Merge pull request #297683 from TomaSajt/catppuccin-python-downgrade
python3Packages.catppuccin: 2.1.0 -> 1.3.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/catppuccin/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/catppuccin/default.nix b/pkgs/development/python-modules/catppuccin/default.nix index 8de3429c342f9..b3134003cfbda 100644 --- a/pkgs/development/python-modules/catppuccin/default.nix +++ b/pkgs/development/python-modules/catppuccin/default.nix @@ -10,14 +10,18 @@ buildPythonPackage rec { 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; src = fetchFromGitHub { owner = "catppuccin"; repo = "python"; rev = "refs/tags/v${version}"; - hash = "sha256-/RINDyO0cngDy9APqsFHBFBKi8aDf7Tah/IIFdXQURo="; + hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik="; }; build-system = [ @@ -34,6 +38,11 @@ buildPythonPackage rec { pytestCheckHook ] ++ 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" ]; meta = { |