kitty: 0.20.3 -> 0.21.0

https://github.com/kovidgoyal/kitty/releases/tag/v0.21.0
The patch is no longer needed.
This commit is contained in:
Luflosi 2021-06-12 16:17:24 +02:00
parent bbfe4e6a5e
commit 9052ddec40
No known key found for this signature in database
GPG key ID: 4E41E29EDCC345D0
2 changed files with 2 additions and 22 deletions

View file

@ -21,14 +21,14 @@
with python3Packages;
buildPythonApplication rec {
pname = "kitty";
version = "0.20.3";
version = "0.21.0";
format = "other";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
sha256 = "sha256-rORIrbUqtQZuU6TjjYP7IZHfCPeLnrNy6wInnAwhG48=";
sha256 = "sha256-n8ipIQAfKPVApJhuTrlSSsd6dlPeCUvk7rdiVmL9i+4=";
};
buildInputs = [
@ -63,10 +63,6 @@ buildPythonApplication rec {
outputs = [ "out" "terminfo" ];
patches = [
./fix-paths.patch
];
# Causes build failure due to warning
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";

View file

@ -1,16 +0,0 @@
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -3,7 +3,7 @@
# Patching is needed here for the following reason:
# * importing the `constants` package from Kitty has a side effect that it
# creates the user configuration directory. This package gets imported
# while sphinx scans the code for documentation strings.
#
# You can set these variables from the command line.
SPHINXOPTS = -j auto -T $(FAIL_WARN)
-SPHINXBUILD = sphinx-build
+SPHINXBUILD = PYTHONPATH=${PYTHONPATH}:.. HOME=${TMPDIR}/kitty-build-home sphinx-build
SPHINXPROJ = kitty
SOURCEDIR = .
BUILDDIR = _build