Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: chroma 2.20.0 -> 2.22.0 https://repology.org/project/go:github-alecthomas-chroma/versions attrpath: chroma Checking auto update branch... No auto update branch exists Old version 2.20.0" not present in master derivation file with contents: { lib, buildGoModule, fetchFromGitHub, }: let srcInfo = lib.importJSON ./src.json; in buildGoModule rec { pname = "chroma"; version = "2.22.0"; # To update: # nix-prefetch-git --rev v${version} https://github.com/alecthomas/chroma.git > src.json src = fetchFromGitHub { owner = "alecthomas"; repo = "chroma"; rev = "v${version}"; inherit (srcInfo) sha256; }; vendorHash = "sha256-kzlXrIMSa5C4UFt+BiMh6NedelQG49OxYbreeWhCb80="; modRoot = "./cmd/chroma"; # substitute version info as done in goreleaser builds ldflags = [ "-X" "main.version=${version}" "-X" "main.commit=${srcInfo.rev}" "-X" "main.date=${srcInfo.date}" ]; meta = { homepage = "https://github.com/alecthomas/chroma"; description = "General purpose syntax highlighter in pure Go"; license = lib.licenses.mit; maintainers = [ lib.maintainers.sternenseemann ]; mainProgram = "chroma"; }; }