2019-03-07 21:26:45 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchpatch }:
|
2019-01-29 16:44:23 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybind11";
|
2019-08-31 23:13:53 +01:00
|
|
|
version = "2.3.0";
|
2019-01-29 16:44:23 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-31 23:13:53 +01:00
|
|
|
sha256 = "0923ngd2cvck3lhl7584y08n36pm6zqihfm1s69sbdc11xg936hr";
|
2019-01-29 16:44:23 +00:00
|
|
|
};
|
|
|
|
|
2019-03-07 21:26:45 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = https://github.com/pybind/pybind11/commit/44a40dd61e5178985cfb1150cf05e6bfcec73042.patch;
|
|
|
|
sha256 = "047nzyfsihswdva96hwchnp4gj2mlbiqvmkdnhxrfi9sji8x31ka";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2019-01-29 16:44:23 +00:00
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|