depot/third_party/nixpkgs/pkgs/development/python-modules/gbinder-python/default.nix
Default email 818c48e259 Project import generated by Copybara.
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
2021-10-04 09:37:57 -03:00

39 lines
719 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, buildPythonPackage
, cython
, pkg-config
, libgbinder
}:
buildPythonPackage rec {
pname = "gbinder-python";
version = "1.0.0";
src = fetchFromGitHub {
owner = "erfanoabdi";
repo = pname;
rev = version;
sha256 = "0jgblzakjgsy0cj93bmh5gr7qnl2xgsrm0wzc6xjvzry9lrbs360";
};
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;
};
}