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 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "zipline"; 35 - version = "4.2.0"; 36 37 src = fetchFromGitHub { 38 owner = "diced"; 39 repo = "zipline"; 40 tag = "v${finalAttrs.version}"; 41 - hash = "sha256-zm2xNhWghg/Pa9LhLzV+AG/tfiSjAiSnGs8OMnC0Tpw="; 42 }; 43 44 pnpmDeps = pnpm_10.fetchDeps { ··· 88 makeWrapper ${lib.getExe nodejs_24} "$out/bin/$1" \ 89 --chdir "$out/share/zipline" \ 90 --set NODE_ENV production \ 91 --prefix PATH : ${lib.makeBinPath [ openssl ]} \ 92 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl ]} \ 93 ${ ··· 117 118 meta = { 119 description = "ShareX/file upload server that is easy to use, packed with features, and with an easy setup"; 120 changelog = "https://github.com/diced/zipline/releases/tag/v${finalAttrs.version}"; 121 - homepage = "https://zipline.diced.sh/"; 122 license = lib.licenses.mit; 123 maintainers = with lib.maintainers; [ defelo ]; 124 mainProgram = "zipline";
··· 32 33 stdenv.mkDerivation (finalAttrs: { 34 pname = "zipline"; 35 + version = "4.2.1"; 36 37 src = fetchFromGitHub { 38 owner = "diced"; 39 repo = "zipline"; 40 tag = "v${finalAttrs.version}"; 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 + ''; 47 }; 48 49 pnpmDeps = pnpm_10.fetchDeps { ··· 93 makeWrapper ${lib.getExe nodejs_24} "$out/bin/$1" \ 94 --chdir "$out/share/zipline" \ 95 --set NODE_ENV production \ 96 + --set ZIPLINE_GIT_SHA "$(<$src/.git_head)" \ 97 --prefix PATH : ${lib.makeBinPath [ openssl ]} \ 98 --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ openssl ]} \ 99 ${ ··· 123 124 meta = { 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"; 128 changelog = "https://github.com/diced/zipline/releases/tag/v${finalAttrs.version}"; 129 license = lib.licenses.mit; 130 maintainers = with lib.maintainers; [ defelo ]; 131 mainProgram = "zipline";