Unverified Commit 3a0ca2f8 authored by naturecodevoid's avatar naturecodevoid Committed by GitHub
Browse files

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

* python312Packages.kivy: 2.1.0 -> 2.3.0
parent 430c29bf
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -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