8 buildPythonPackage rec {
9 inherit (openbabel) pname version;
11 src = "${openbabel}/${python.sitePackages}";
13 buildInputs = [ openbabel ];
15 # these env variables are used by the bindings to find libraries
16 # they need to be included explicitly in your nix-shell for
17 # some functionality to work (inparticular, pybel).
18 # see https://openbabel.org/docs/dev/Installation/install.html
19 BABEL_LIBDIR = "${openbabel}/lib/openbabel/3.1.0";
20 LD_LIBRARY_PATH = "${openbabel}/lib";
23 pythonImportsCheck = [ "openbabel" ];
26 homepage = "http://openbabel.org/wiki/Main_Page";
27 description = "Python bindings for openbabel";
28 license = licenses.gpl2Plus;
29 maintainers = with maintainers; [ danielbarter ];