2011-08-15 19:05:31 +01:00
|
|
|
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python }:
|
2009-03-10 14:41:50 +00:00
|
|
|
|
2011-08-15 19:05:31 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "openbabel-2.3.0";
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2009-03-10 14:41:50 +00:00
|
|
|
src = fetchurl {
|
2011-08-15 19:05:31 +01:00
|
|
|
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
|
|
|
|
sha256 = "1yv1z04il8q6nhcc3l9019aj7nzs3bfm667s2vkg5cc3dljwpbbd";
|
2009-03-10 14:41:50 +00:00
|
|
|
};
|
2009-04-22 00:18:09 +01:00
|
|
|
|
|
|
|
# TODO : perl & python bindings;
|
|
|
|
# TODO : wxGTK: I have no time to compile
|
|
|
|
# TODO : separate lib and apps
|
2011-08-15 19:05:31 +01:00
|
|
|
buildInputs = [ zlib libxml2 eigen python ];
|
|
|
|
|
|
|
|
buildNativeInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
2007-11-11 16:15:29 +00:00
|
|
|
}
|