2012-01-14 18:03:41 +00:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, mesa, libX11 }:
|
2011-08-15 18:05:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "avogadro-1.0.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-15 23:39:11 +00:00
|
|
|
url = "mirror://sourceforge/avogadro/${name}.tar.bz2";
|
2011-08-15 18:05:39 +00:00
|
|
|
sha256 = "0s44r78vm7hf4cs13d2qki3gf178gjj1ihph6rs04g6s4figvdpg";
|
|
|
|
};
|
|
|
|
|
2012-01-14 18:03:41 +00:00
|
|
|
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
2011-08-15 18:05:39 +00:00
|
|
|
|
2012-01-14 18:03:01 +00:00
|
|
|
buildNativeInputs = [ cmake pkgconfig ];
|
2011-08-15 18:05:39 +00:00
|
|
|
|
2012-01-14 18:03:41 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
|
|
|
|
2011-08-15 18:05:39 +00:00
|
|
|
meta = {
|
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|