depot/third_party/nixpkgs/pkgs/development/python-modules/gbinder-python/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

38 lines
702 B
Nix

{ 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
];
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;
};
}