Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
844 B · 32 lines
Nix
123456789101112131415161718192021222324252627282930313233{ lib, openbabel, python, buildPythonPackage,}:
buildPythonPackage { format = "setuptools"; inherit (openbabel) pname version;
src = "${openbabel}/${python.sitePackages}";
buildInputs = [ openbabel ];
# these env variables are used by the bindings to find libraries # they need to be included explicitly in your nix-shell for # some functionality to work (inparticular, pybel). # see https://openbabel.org/docs/dev/Installation/install.html BABEL_LIBDIR = "${openbabel}/lib/openbabel/3.1.0"; LD_LIBRARY_PATH = "${openbabel}/lib";
doCheck = false; pythonImportsCheck = [ "openbabel" ];
meta = with lib; { homepage = "http://openbabel.org/wiki/Main_Page"; description = "Python bindings for openbabel"; license = licenses.gpl2Plus; maintainers = with maintainers; [ danielbarter ]; };}