Skip to content

Commit

Permalink
openbabel: Fixes AArch64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldr committed Dec 10, 2018
1 parent 662f7b1 commit 1a7610a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/development/libraries/openbabel/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:
{stdenv, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }:

stdenv.mkDerivation rec {
name = "openbabel-${version}";
Expand All @@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
};

patches = [
# ARM / AArch64 fixes.
(fetchpatch {
url = https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch;
sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g";
})
];

# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps
Expand Down

0 comments on commit 1a7610a

Please sign in to comment.