1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/development/libraries/openbabel/default.nix
Yury G. Kudryashov e7dccbfcb8 openbabel-2.3.1, depend on cairo
svn path=/nixpkgs/trunk/; revision=31540
2012-01-14 18:02:54 +00:00

23 lines
607 B
Nix

{stdenv, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pkgconfig }:
stdenv.mkDerivation rec {
name = "openbabel-2.3.1";
src = fetchurl {
url = "mirror://sourceforge/openbabel/${name}.tar.gz";
sha256 = "18yprqsk0fi1ri4fmvpx2ym6gx9fp3by681pl3jffpjqmz4qnbly";
};
# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps
buildInputs = [ zlib libxml2 eigen python cairo ];
buildNativeInputs = [ cmake pkgconfig ];
meta = {
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
};
}