nixpkgs/pkgs/applications/science/chemistry/avogadro/default.nix
2018-02-24 17:06:49 +02:00

23 lines
650 B
Nix

{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, libGLU_combined, libX11, doxygen }:
stdenv.mkDerivation rec {
name = "avogadro-1.1.1";
src = fetchurl {
url = "mirror://sourceforge/avogadro/${name}.tar.bz2";
sha256 = "050ag9p4vg7jg8hj1wqfv7lsm6ar2isxjw2vw85s49vsl7g7nvzy";
};
buildInputs = [ qt4 eigen zlib openbabel libGLU_combined libX11 ];
nativeBuildInputs = [ cmake pkgconfig doxygen ];
NIX_CFLAGS_COMPILE = "-include ${libGLU_combined}/include/GL/glu.h";
meta = {
description = "Molecule editor and visualizer";
maintainers = [ ];
platforms = stdenv.lib.platforms.mesaPlatforms;
};
}