2016-12-28 19:06:14 +00:00
|
|
|
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:
|
2009-03-10 14:41:50 +00:00
|
|
|
|
2011-08-15 18:05:31 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-12-28 19:06:14 +00:00
|
|
|
name = "openbabel-${version}";
|
|
|
|
version = "2.4.1";
|
2012-01-14 18:02:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-12-28 19:06:14 +00:00
|
|
|
url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
|
|
|
|
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
|
2009-03-10 14:41:50 +00:00
|
|
|
};
|
2012-01-14 18:02:54 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
# TODO : perl & python bindings;
|
|
|
|
# TODO : wxGTK: I have no time to compile
|
|
|
|
# TODO : separate lib and apps
|
2016-12-28 19:06:14 +00:00
|
|
|
buildInputs = [ zlib libxml2 eigen python cairo pcre ];
|
2011-08-15 18:05:31 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2011-08-15 18:05:31 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2018-08-09 10:35:16 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-08-15 18:05:31 +00:00
|
|
|
};
|
2007-11-11 16:15:29 +00:00
|
|
|
}
|