Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: jmol 16.3.49 -> 16.4.3 https://repology.org/project/jmol/versions attrpath: jmol Checking auto update branch... No auto update branch exists Old version 16.3.49" not present in master derivation file with contents: { stdenv, lib, fetchurl, unzip, makeDesktopItem, jre8, }: let desktopItem = makeDesktopItem { name = "jmol"; exec = "jmol"; desktopName = "JMol"; genericName = "Molecular Modeler"; mimeTypes = [ "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" ]; }; in stdenv.mkDerivation (finalAttrs: { version = "16.4.1"; pname = "jmol"; src = let baseVersion = "${lib.versions.major finalAttrs.version}.${lib.versions.minor finalAttrs.version}"; in fetchurl { url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${finalAttrs.version}/Jmol-${finalAttrs.version}-binary.tar.gz"; hash = "sha256-n7Ql/pK/N6maG2EjrgdRz+HUvn+JwkZpvRQyuElKrHI="; }; patchPhase = '' sed -i -e "4s:.*:command=${jre8}/bin/java:" -e "10s:.*:jarpath=$out/share/jmol/Jmol.jar:" -e "11,21d" jmol ''; installPhase = '' mkdir -p "$out/share/jmol" "$out/bin" ${unzip}/bin/unzip jsmol.zip -d "$out/share/" cp *.jar jmol.sh "$out/share/jmol" cp -r ${desktopItem}/share/applications $out/share cp jmol $out/bin ''; enableParallelBuilding = true; meta = { description = "Java 3D viewer for chemical structures"; mainProgram = "jmol"; homepage = "https://sourceforge.net/projects/jmol"; sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.lgpl2; platforms = lib.platforms.all; teams = [ lib.teams.sage ]; }; })