zipline: 4.2.0 -> 4.2.1, set git sha (#429660)

authored by Sandro and committed by GitHub ed9fa0f5 74f1c64c

+10 -3
+10 -3
pkgs/by-name/zi/zipline/package.nix
··· 32 32 33 33 stdenv.mkDerivation (finalAttrs: { 34 34 pname = "zipline"; 35 - version = "4.2.0"; 35 + version = "4.2.1"; 36 36 37 37 src = fetchFromGitHub { 38 38 owner = "diced"; 39 39 repo = "zipline"; 40 40 tag = "v${finalAttrs.version}"; 41 - hash = "sha256-zm2xNhWghg/Pa9LhLzV+AG/tfiSjAiSnGs8OMnC0Tpw="; 41 + hash = "sha256-16D44QQHrXn6y+3IRsWh6iHSr+o4l3zHDW7SOFMsHnc="; 42 + leaveDotGit = true; 43 + postFetch = '' 44 + git -C $out rev-parse --short HEAD > $out/.git_head 45 + rm -rf $out/.git 46 + ''; 42 47 }; 43 48 44 49 pnpmDeps = pnpm_10.fetchDeps { ··· 88 93 makeWrapper ${lib.getExe nodejs_24} "$out/bin/$1" \ 89 94 --chdir "$out/share/zipline" \ 90 95 --set NODE_ENV production \ 96 + --set ZIPLINE_GIT_SHA "$(<$src/.git_head)" \ 91 97 --prefix PATH : ${lib.makeBinPath [ openssl ]} \ 92 98 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl ]} \ 93 99 ${ ··· 117 123 118 124 meta = { 119 125 description = "ShareX/file upload server that is easy to use, packed with features, and with an easy setup"; 126 + homepage = "https://zipline.diced.sh/"; 127 + downloadPage = "https://github.com/diced/zipline"; 120 128 changelog = "https://github.com/diced/zipline/releases/tag/v${finalAttrs.version}"; 121 - homepage = "https://zipline.diced.sh/"; 122 129 license = lib.licenses.mit; 123 130 maintainers = with lib.maintainers; [ defelo ]; 124 131 mainProgram = "zipline";