Merge pull request #54888 from FlorianFranzen/pybind11_pip

pythonPackages.pybind11: init at 2.2.4
This commit is contained in:
Jörg Thalheim 2019-02-10 10:41:25 +00:00 committed by GitHub
commit 0c1ded6bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pybind11";
version = "2.2.4";
src = fetchPypi {
inherit pname version;
sha256 = "1kz1z2cg3q901q9spkdhksmcfiskaghzmbb9ivr5mva856yvnak4";
};
# Current PyPi version does not include test suite
doCheck = false;
meta = {
homepage = https://github.com/pybind/pybind11;
description = "Seamless operability between C++11 and Python";
longDescription = ''
Pybind11 is a lightweight header-only library that exposes
C++ types in Python and vice versa, mainly to create Python
bindings of existing C++ code.
'';
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.yuriaisaka ];
};
}

View File

@ -570,6 +570,8 @@ in {
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };
pybind11 = callPackage ../development/python-modules/pybind11 { };
pycairo = callPackage ../development/python-modules/pycairo { };
pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie { });