openbabel: 2.3.2 -> 2.4.1

This commit is contained in:
mimadrid 2016-12-28 20:06:14 +01:00
parent 5ba7f33e3a
commit 86d55f0380
No known key found for this signature in database
GPG Key ID: 4D0F6894D41C6957

View File

@ -1,23 +1,23 @@
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:
stdenv.mkDerivation rec {
name = "openbabel-2.3.2";
name = "openbabel-${version}";
version = "2.4.1";
src = fetchurl {
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
sha256 = "122if0jkm71ngd1b0dic8k567b3j2hcikbwnpxgchv5ag5ka5b2f";
url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
};
# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps
buildInputs = [ zlib libxml2 eigen python cairo ];
buildInputs = [ zlib libxml2 eigen python cairo pcre ];
nativeBuildInputs = [ cmake pkgconfig ];
meta = {
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
broken = true; # doesn't build with GCC 5; fix in GitHub
};
}