forked from mirrors/nixpkgs
28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
23 lines
611 B
Nix
23 lines
611 B
Nix
{ stdenv, fetchurl, cmake, qt4, zlib, eigen, openbabel, pkgconfig, mesa, libX11 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "avogadro-1.0.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/avogadro/${name}.tar.bz2";
|
|
sha256 = "0s44r78vm7hf4cs13d2qki3gf178gjj1ihph6rs04g6s4figvdpg";
|
|
};
|
|
|
|
buildInputs = [ qt4 eigen zlib openbabel mesa libX11 ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-include ${mesa}/include/GL/glu.h";
|
|
|
|
meta = {
|
|
description = "Molecule editor and visualizer";
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
inherit (qt4.meta) platforms;
|
|
};
|
|
}
|