1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/applications/science/chemistry/avogadro/default.nix

23 lines
617 B
Nix
Raw Normal View History

2013-12-18 12:53:36 +00:00
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, mesa, libX11, doxygen }:
stdenv.mkDerivation rec {
2013-12-18 12:07:14 +00:00
name = "avogadro-1.1.1";
src = fetchurl {
url = "mirror://sourceforge/avogadro/${name}.tar.bz2";
2013-12-18 12:07:14 +00:00
sha256 = "050ag9p4vg7jg8hj1wqfv7lsm6ar2isxjw2vw85s49vsl7g7nvzy";
};
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
2013-12-18 12:53:36 +00:00
nativeBuildInputs = [ cmake pkgconfig doxygen ];
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
meta = {
description = "Molecule editor and visualizer";
maintainers = [ ];
2013-10-07 16:36:47 +01:00
platforms = stdenv.lib.platforms.mesaPlatforms;
};
}