anchor.diff: -{ stdenv, fetchurl, makeDesktopItem
  +{ lib, stdenv, fetchurl, fetchFromGitHub, makeDesktopItem
   , python3, python3Packages
  -, glew, freeglut, libpng, libxml2, tk, freetype, msgpack }:
  +, glew, glm, freeglut, libpng, libxml2, tk, freetype, msgpack }:
   
  -
  -with stdenv.lib;
   
   let
     pname = "pymol";
  -  ver_maj = "2";
  -  ver_min = "1";
  -  version = "${ver_maj}.${ver_min}.0";
     description = "A Python-enhanced molecular graphics tool";
   
     desktopItem = makeDesktopItem {
  
positive.code: 
    postInstall = with python3Packages; ''
      wrapProgram $out/bin/pymol \
        --prefix PYTHONPATH : ${makeSearchPathOutput "lib" python3.sitePackages [ Pmw tkinter ]}
    '';
  
    meta = {
      description = description;
      homepage = https://www.pymol.org/;
      license = licenses.psfl;
      broken = true;
    };
  }
  
negative.code:     categories = "Graphics;Education;Science;Chemistry;";
    };
  in
  python3Packages.buildPythonApplication rec {
    inherit pname;
    version = "2.3.0";
    src = fetchFromGitHub {
      owner = "schrodinger";
      repo = "pymol-open-source";
      rev = "v${version}";
      sha256 = "175cqi6gfmvv49i3ws19254m7ljs53fy6y82fm1ywshq2h2c93jh";
    };
  
    buildInputs = [ python3Packages.numpy glew glm freeglut libpng libxml2 tk freetype msgpack ];
    NIX_CFLAGS_COMPILE = "-I ${libxml2.dev}/include/libxml2 -Wno-error=format-security";
  
    setupPyBuildFlags = [ "--glut" ];
  
    installPhase = ''
      python setup.py install --home=$out
  