pymol: 1.8.4 -> 2.1.0
This commit is contained in:
parent
3a8b8bcb69
commit
75d8c81868
@ -1,14 +1,14 @@
|
|||||||
{ stdenv, fetchurl, makeDesktopItem
|
{ stdenv, fetchurl, makeDesktopItem
|
||||||
, python3, python3Packages
|
, python3, python3Packages
|
||||||
, glew, freeglut, libpng, libxml2, tk, freetype }:
|
, glew, freeglut, libpng, libxml2, tk, freetype, libmsgpack }:
|
||||||
|
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "pymol";
|
pname = "pymol";
|
||||||
ver_maj = "1.8";
|
ver_maj = "2";
|
||||||
ver_min = "4";
|
ver_min = "1";
|
||||||
version = "${ver_maj}.${ver_min}.0";
|
version = "${ver_maj}.${ver_min}.0";
|
||||||
description = "A Python-enhanced molecular graphics tool";
|
description = "A Python-enhanced molecular graphics tool";
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ let
|
|||||||
name = "${pname}";
|
name = "${pname}";
|
||||||
exec = "${pname}";
|
exec = "${pname}";
|
||||||
desktopName = "PyMol Molecular Graphics System";
|
desktopName = "PyMol Molecular Graphics System";
|
||||||
genericName = "Molecular Modeller";
|
genericName = "Molecular Modeler";
|
||||||
comment = description;
|
comment = description;
|
||||||
mimeType = "chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;";
|
mimeType = "chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;";
|
||||||
categories = "Graphics;Education;Science;Chemistry;";
|
categories = "Graphics;Education;Science;Chemistry;";
|
||||||
@ -26,10 +26,10 @@ python3Packages.buildPythonApplication {
|
|||||||
name = "pymol-${version}";
|
name = "pymol-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/pymol/pymol/${ver_maj}/pymol-v${version}.tar.bz2";
|
url = "mirror://sourceforge/project/pymol/pymol/${ver_maj}/pymol-v${version}.tar.bz2";
|
||||||
sha256 = "0yfj8g5yic9zz6f0bw2n8h6ifvgsn8qvhq84alixsi28wzppn55n";
|
sha256 = "1qpacd5w4r9a0nm5iqmkd92ym3ai00dp7v61cwd6jgakk6wfps3s";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python3Packages.numpy glew freeglut libpng libxml2 tk freetype ];
|
buildInputs = [ python3Packages.numpy glew freeglut libpng libxml2 tk freetype libmsgpack ];
|
||||||
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
|
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user