2012-01-14 19:03:41 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, mesa, libX11 }:
|
2011-08-15 20:05:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "avogadro-1.0.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-08-16 01:39:11 +02:00
|
|
|
url = "mirror://sourceforge/avogadro/${name}.tar.bz2";
|
2011-08-15 20:05:39 +02:00
|
|
|
sha256 = "0s44r78vm7hf4cs13d2qki3gf178gjj1ihph6rs04g6s4figvdpg";
|
|
|
|
};
|
|
|
|
|
2012-01-14 19:03:41 +01:00
|
|
|
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
2011-08-15 20:05:39 +02:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2011-08-15 20:05:39 +02:00
|
|
|
|
2012-01-14 19:03:41 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
|
|
|
|
2011-08-15 20:05:39 +02:00
|
|
|
meta = {
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "Molecule editor and visualizer";
|
2011-08-15 20:05:39 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
2013-10-07 17:36:47 +02:00
|
|
|
platforms = stdenv.lib.platforms.mesaPlatforms;
|
2011-08-15 20:05:39 +02:00
|
|
|
};
|
|
|
|
}
|