2012-01-14 10:02:54 -08:00
|
|
|
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
|
2009-03-10 07:41:50 -07:00
|
|
|
|
2011-08-15 11:05:31 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-03 20:36:16 -08:00
|
|
|
name = "openbabel-2.3.2";
|
2012-01-14 10:02:54 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-15 11:05:31 -07:00
|
|
|
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
|
2013-12-03 20:36:16 -08:00
|
|
|
sha256 = "122if0jkm71ngd1b0dic8k567b3j2hcikbwnpxgchv5ag5ka5b2f";
|
2009-03-10 07:41:50 -07:00
|
|
|
};
|
2012-01-14 10:02:54 -08:00
|
|
|
|
2009-04-21 16:18:09 -07:00
|
|
|
# TODO : perl & python bindings;
|
|
|
|
# TODO : wxGTK: I have no time to compile
|
|
|
|
# TODO : separate lib and apps
|
2012-01-14 10:02:54 -08:00
|
|
|
buildInputs = [ zlib libxml2 eigen python cairo ];
|
2011-08-15 11:05:31 -07:00
|
|
|
|
2012-12-28 10:20:09 -08:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2011-08-15 11:05:31 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2016-03-02 09:02:01 -08:00
|
|
|
broken = true; # doesn't build with GCC 5; fix in GitHub
|
2011-08-15 11:05:31 -07:00
|
|
|
};
|
2007-11-11 08:15:29 -08:00
|
|
|
}
|