pymol: 2.3.0 -> 2.5.0
This commit is contained in:
@@ -1,8 +1,18 @@
|
|||||||
{ lib, fetchurl, fetchFromGitHub, makeDesktopItem
|
{ lib
|
||||||
, python3, python3Packages
|
, fetchFromGitHub
|
||||||
, glew, glm, freeglut, libpng, libxml2, tk, freetype, msgpack }:
|
, makeDesktopItem
|
||||||
|
, python3
|
||||||
|
, python3Packages
|
||||||
|
, netcdf
|
||||||
|
, glew
|
||||||
|
, glm
|
||||||
|
, freeglut
|
||||||
|
, libpng
|
||||||
|
, libxml2
|
||||||
|
, tk
|
||||||
|
, freetype
|
||||||
|
, msgpack
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
pname = "pymol";
|
pname = "pymol";
|
||||||
description = "A Python-enhanced molecular graphics tool";
|
description = "A Python-enhanced molecular graphics tool";
|
||||||
@@ -20,15 +30,15 @@ let
|
|||||||
in
|
in
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
inherit pname;
|
inherit pname;
|
||||||
version = "2.3.0";
|
version = "2.5.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "schrodinger";
|
owner = "schrodinger";
|
||||||
repo = "pymol-open-source";
|
repo = "pymol-open-source";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "175cqi6gfmvv49i3ws19254m7ljs53fy6y82fm1ywshq2h2c93jh";
|
sha256 = "sha256-JdsgcVF1w1xFPZxVcyS+GcWg4a1Bd4SvxFOuSdlz9SM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ python3Packages.numpy glew glm freeglut libpng libxml2 tk freetype msgpack ];
|
buildInputs = [ python3Packages.numpy glew glm freeglut libpng libxml2 tk freetype msgpack netcdf ];
|
||||||
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
|
NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2";
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
@@ -49,7 +59,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = description;
|
inherit description;
|
||||||
homepage = "https://www.pymol.org/";
|
homepage = "https://www.pymol.org/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ samlich ];
|
maintainers = with maintainers; [ samlich ];
|
||||||
|
|||||||
Reference in New Issue
Block a user