pymol: init at 1.8.4 (#23007)
This commit is contained in:
parent
7bb0611e2e
commit
eb688ac0a7
25
pkgs/applications/science/chemistry/pymol/default.nix
Normal file
25
pkgs/applications/science/chemistry/pymol/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user