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