From 22ef1186a9bccfc11423d982fc734f5f444c6f5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 20 Jun 2025 12:42:17 -0700 Subject: [PATCH] python3Packages.gbinder-python: 1.1.1 -> 1.1.2 Diff: https://github.com/erfanoabdi/gbinder-python/compare/1.1.1...1.1.2 --- .../python-modules/gbinder-python/default.nix | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/gbinder-python/default.nix b/pkgs/development/python-modules/gbinder-python/default.nix index e2226c211af3..35a811c9398e 100644 --- a/pkgs/development/python-modules/gbinder-python/default.nix +++ b/pkgs/development/python-modules/gbinder-python/default.nix @@ -2,37 +2,42 @@ lib, fetchFromGitHub, buildPythonPackage, - cython_0, + cython, pkg-config, libgbinder, + setuptools, }: buildPythonPackage rec { pname = "gbinder-python"; - version = "1.1.1"; - format = "setuptools"; + version = "1.1.2"; + pyproject = true; src = fetchFromGitHub { owner = "erfanoabdi"; repo = "gbinder-python"; - rev = version; - sha256 = "1X9gAux9w/mCEVmE3Yqvvq3kU7hu4iAFaZWNZZZxt3E="; + tag = version; + hash = "sha256-up1EDuR05a7TlCErd2BXkp01oqi6hEskt7xVxsJqquM="; }; + build-system = [ + cython + setuptools + ]; + buildInputs = [ libgbinder ]; nativeBuildInputs = [ - cython_0 pkg-config ]; postPatch = '' # Fix pkg-config name for cross-compilation - substituteInPlace setup.py --replace "pkg-config" "$PKG_CONFIG" + substituteInPlace setup.py \ + --replace-fail "pkg-config" "$PKG_CONFIG" \ + --replace-fail "USE_CYTHON = False" "USE_CYTHON = True" ''; - setupPyGlobalFlags = [ "--cython" ]; - meta = { description = "Python bindings for libgbinder"; homepage = "https://github.com/erfanoabdi/gbinder-python";