python312Packages.kivy: 2.1.0 -> 2.3.0 (#300169)

* python312Packages.kivy: 2.1.0 -> 2.3.0
This commit is contained in:
naturecodevoid 2024-04-05 09:23:41 -07:00 committed by GitHub
parent 430c29bff4
commit 3a0ca2f8d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,29 +6,20 @@
, Accelerate, ApplicationServices, AVFoundation, libcxx
, withGstreamer ? true
, gst_all_1
, pillow, requests, pygments
, packaging, pillow, pygments, requests
}:
buildPythonPackage rec {
pname = "kivy";
version = "2.1.0";
version = "2.3.0";
src = fetchFromGitHub {
owner = "kivy";
repo = "kivy";
rev = version;
hash = "sha256-k9LIiLtlHY6H1xfVylI/Xbm7R6pCpC5UHe8GWnCwEGA=";
hash = "sha256-QJ490vjpEj/JSE9OzSvDpkCruaTFdlThUHIEAMm0BZ4=";
};
patches = [
# Fixes incompatible function pointer conversion errors with clang 16.
# https://github.com/kivy/kivy/pull/8415
(fetchpatch {
url = "https://github.com/kivy/kivy/commit/a0ec8ff79fcbc1b82391132a89c8fc21ef1c5c55.patch";
hash = "sha256-2Kpkx75uWPiEiEqkOxBKl3HENKUGVHbQV4haeI5Gl3A=";
})
];
nativeBuildInputs = [
pkg-config
cython
@ -58,6 +49,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
kivy-garden
packaging
pillow
pygments
requests