patches: Add catpuccin build patch
This commit is contained in:
parent
2364ce029b
commit
0efcc916fc
1 changed files with 37 additions and 0 deletions
37
patches/297683.patch
Normal file
37
patches/297683.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
diff --git a/pkgs/development/python-modules/catppuccin/default.nix b/pkgs/development/python-modules/catppuccin/default.nix
|
||||
index 8de3429c342f91..b3134003cfbdaf 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 = {
|
Loading…
Add table
Add a link
Reference in a new issue