1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, cython 5, pkg-config 6, libgbinder 7}: 8 9buildPythonPackage rec { 10 pname = "gbinder-python"; 11 version = "1.1.1"; 12 13 src = fetchFromGitHub { 14 owner = "erfanoabdi"; 15 repo = pname; 16 rev = version; 17 sha256 = "1X9gAux9w/mCEVmE3Yqvvq3kU7hu4iAFaZWNZZZxt3E="; 18 }; 19 20 buildInputs = [ 21 libgbinder 22 ]; 23 24 nativeBuildInputs = [ 25 cython 26 pkg-config 27 ]; 28 29 setupPyGlobalFlags = [ "--cython" ]; 30 31 meta = with lib; { 32 description = "Python bindings for libgbinder"; 33 homepage = "https://github.com/erfanoabdi/gbinder-python"; 34 license = licenses.gpl3; 35 maintainers = with maintainers; [ mcaju ]; 36 platforms = platforms.linux; 37 }; 38}