pymol: init at 1.8.4 (#23007)

This commit is contained in:
Mounium 2017-02-22 01:35:09 +01:00 committed by Jörg Thalheim
parent 7bb0611e2e
commit eb688ac0a7
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, python27Packages, glew, freeglut, libpng, libxml2, tk, freetype }:
let
version = "1.8.4.0";
in
python27Packages.buildPythonApplication {
name = "pymol-${version}";
src = fetchurl {
url = "mirror://sourceforge/project/pymol/pymol/1.8/pymol-v1.8.4.0.tar.bz2";
sha256 = "0yfj8g5yic9zz6f0bw2n8h6ifvgsn8qvhq84alixsi28wzppn55n";
};
buildInputs = [ python27Packages.numpy glew freeglut libpng libxml2 tk freetype ];
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
installPhase = ''
python setup.py install --home=$out
'';
meta = with stdenv.lib; {
description = "A Python-enhanced molecular graphics tool";
homepage = "https://www.pymol.org/";
license = licences.psfl;
};
}

View File

@ -14776,6 +14776,8 @@ with pkgs;
puremapping = callPackage ../applications/audio/pd-plugins/puremapping { };
pymol = callPackage ../applications/science/chemistry/pymol { };
pybitmessage = callPackage ../applications/networking/instant-messengers/pybitmessage { };
pythonmagick = callPackage ../applications/graphics/PythonMagick { };