From 94c1b10dd1d70ce3581a94ba2593b6bd28773423 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Thu, 5 Apr 2018 18:13:07 +0900 Subject: [PATCH] pybindgen: init at 0.18.0 Helps generating python bindings to C. Required to generate www.nsnam.org bindings. --- .../python-modules/pybindgen/default.nix | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/pybindgen/default.nix diff --git a/pkgs/development/python-modules/pybindgen/default.nix b/pkgs/development/python-modules/pybindgen/default.nix new file mode 100644 index 000000000000..09cb4c2cdf98 --- /dev/null +++ b/pkgs/development/python-modules/pybindgen/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchPypi, buildPythonPackage, setuptools_scm, pygccxml }: +buildPythonPackage rec { + pname = "PyBindGen"; + version = "0.18.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1sl4jn8rildv6f62cab66w791cixhaaxl7gwg9labs099rl74yl6"; + }; + + buildInputs = [ setuptools_scm ]; + + checkInputs = [ pygccxml ]; + + meta = with stdenv.lib; { + homepage = https://github.com/gjcarneiro/pybindgen; + description = "Python Bindings Generator"; + license = licenses.lgpl2; + maintainers = with maintainers; [ teto ]; + }; +} + +