Skip to content

Commit

Permalink
Merge pull request #54888 from FlorianFranzen/pybind11_pip
Browse files Browse the repository at this point in the history
pythonPackages.pybind11: init at 2.2.4
  • Loading branch information
Mic92 committed Feb 10, 2019
2 parents ec03ed4 + 57a9594 commit 0c1ded6
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/pybind11/default.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -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 { });
Expand Down

0 comments on commit 0c1ded6

Please sign in to comment.