Something went wrong. Try again.
lol
Something went wrong. Try again.
881 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, fetchFromGitHub, buildPythonPackage, cython, pkg-config, libgbinder, setuptools,}:
buildPythonPackage rec { pname = "gbinder-python"; version = "1.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "waydroid"; repo = "gbinder-python"; tag = version; hash = "sha256-bXuvGTzYifiCPDkcNvkgh+RAZfckcyR8weaRkgbfCyA="; };
build-system = [ cython setuptools ];
buildInputs = [ libgbinder ];
nativeBuildInputs = [ pkg-config ];
postPatch = '' # Fix pkg-config name for cross-compilation substituteInPlace setup.py \ --replace-fail "pkg-config" "$PKG_CONFIG" '';
meta = { description = "Python bindings for libgbinder"; homepage = "https://github.com/waydroid/gbinder-python"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux; maintainers = [ ]; };}