Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
842 B · 43 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, fetchFromGitHub, buildPythonPackage, cython, pkg-config, libgbinder}:
buildPythonPackage rec { pname = "gbinder-python"; version = "1.1.1";
src = fetchFromGitHub { owner = "erfanoabdi"; repo = pname; rev = version; sha256 = "1X9gAux9w/mCEVmE3Yqvvq3kU7hu4iAFaZWNZZZxt3E="; };
buildInputs = [ libgbinder ];
nativeBuildInputs = [ cython pkg-config ];
postPatch = '' # Fix pkg-config name for cross-compilation substituteInPlace setup.py --replace "pkg-config" "$PKG_CONFIG" '';
setupPyGlobalFlags = [ "--cython" ];
meta = with lib; { description = "Python bindings for libgbinder"; homepage = "https://github.com/erfanoabdi/gbinder-python"; license = licenses.gpl3; maintainers = with maintainers; [ mcaju ]; platforms = platforms.linux; };}