nixpkgs/pkgs/development/libraries/openbabel/default.nix

23 lines
607 B
Nix
Raw Normal View History

{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
stdenv.mkDerivation rec {
2013-12-04 04:36:16 +00:00
name = "openbabel-2.3.2";
src = fetchurl {
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
2013-12-04 04:36:16 +00:00
sha256 = "122if0jkm71ngd1b0dic8k567b3j2hcikbwnpxgchv5ag5ka5b2f";
};
# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps
buildInputs = [ zlib libxml2 eigen python cairo ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = {
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}