diff options
author | mimadrid <mimadrid@ucm.es> | 2016-12-28 20:06:14 +0100 |
---|---|---|
committer | mimadrid <mimadrid@ucm.es> | 2016-12-28 20:06:14 +0100 |
commit | 86d55f0380188d6e91c76cbbd79af82182842455 (patch) | |
tree | b198a982b794abcc4eb2c1950e8f6558f1f5c44f /pkgs/development/libraries/openbabel | |
parent | 5ba7f33e3a4f8ebee9944e5e7f092edf4cb57f3e (diff) |
openbabel: 2.3.2 -> 2.4.1
Diffstat (limited to 'pkgs/development/libraries/openbabel')
-rw-r--r-- | pkgs/development/libraries/openbabel/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/openbabel/default.nix b/pkgs/development/libraries/openbabel/default.nix index 3c4cd8bb6c8d4..b124e592f3670 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 }; } |