From 86d55f0380188d6e91c76cbbd79af82182842455 Mon Sep 17 00:00:00 2001 From: mimadrid Date: Wed, 28 Dec 2016 20:06:14 +0100 Subject: [PATCH] openbabel: 2.3.2 -> 2.4.1 --- pkgs/development/libraries/openbabel/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/openbabel/default.nix b/pkgs/development/libraries/openbabel/default.nix index 3c4cd8bb6c8d..b124e592f367 100644 --- a/pkgs/development/libraries/openbabel/default.nix +++ b/pkgs/development/libraries/openbabel/default.nix @@ -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 }; }