2012-01-14 18:02:54 +00:00
|
|
|
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
|
2009-03-10 14:41:50 +00:00
|
|
|
|
2011-08-15 19:05:31 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-01-14 18:02:54 +00:00
|
|
|
name = "openbabel-2.3.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-15 19:05:31 +01:00
|
|
|
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
|
2012-01-14 18:02:54 +00:00
|
|
|
sha256 = "18yprqsk0fi1ri4fmvpx2ym6gx9fp3by681pl3jffpjqmz4qnbly";
|
2009-03-10 14:41:50 +00:00
|
|
|
};
|
2012-01-14 18:02:54 +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
|
2012-01-14 18:02:54 +00:00
|
|
|
buildInputs = [ zlib libxml2 eigen python cairo ];
|
2011-08-15 19:05:31 +01:00
|
|
|
|
2012-01-14 18:02:54 +00:00
|
|
|
buildNativeInputs = [ cmake pkgconfig ];
|
2011-08-15 19:05:31 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
2007-11-11 16:15:29 +00:00
|
|
|
}
|