2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
2021-10-04 12:37:57 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, cython
|
|
|
|
, pkg-config
|
|
|
|
, libgbinder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gbinder-python";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "1.1.1";
|
2021-10-04 12:37:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "erfanoabdi";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "1X9gAux9w/mCEVmE3Yqvvq3kU7hu4iAFaZWNZZZxt3E=";
|
2021-10-04 12:37:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libgbinder
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|