sourcehut.pagessrht: 0.15.4 -> 0.15.7

+8 -4
+8 -4
pkgs/applications/version-management/sourcehut/pages.nix
··· 6 7 buildGoModule (rec { 8 pname = "pagessrht"; 9 - version = "0.15.4"; 10 11 src = fetchFromSourcehut { 12 owner = "~sircmpwn"; 13 repo = "pages.sr.ht"; 14 rev = version; 15 - hash = "sha256-3kdQVIL7xaIPu2elxj1k+4/y75bd+OKP5+VPSniF7w8="; 16 }; 17 18 postPatch = '' 19 substituteInPlace Makefile \ 20 --replace "all: server" "" 21 ''; 22 23 - vendorHash = "sha256-DP+6rxjiXzs0RbSuMD20XwO/+v7QXCNgXj2LxZ96lWE="; 24 25 postInstall = '' 26 mkdir -p $out/share/sql/ ··· 36 }; 37 # There is no ./loaders but this does not cause troubles 38 # to go generate 39 - } // import ./fix-gqlgen-trimpath.nix { inherit unzip; })
··· 6 7 buildGoModule (rec { 8 pname = "pagessrht"; 9 + version = "0.15.7"; 10 11 src = fetchFromSourcehut { 12 owner = "~sircmpwn"; 13 repo = "pages.sr.ht"; 14 rev = version; 15 + hash = "sha256-Lobuf12ybSO7Y4ztOLMFW0dmPFaBSEPCy4Nmh89tylI="; 16 }; 17 18 postPatch = '' 19 substituteInPlace Makefile \ 20 --replace "all: server" "" 21 + 22 + # fix build failure due to unused import 23 + substituteInPlace server.go \ 24 + --replace-warn ' "fmt"' "" 25 ''; 26 27 + vendorHash = "sha256-9hpOkP6AYSZe7MW1mrwFEKq7TvVt6OcF6eHWY4jARuU="; 28 29 postInstall = '' 30 mkdir -p $out/share/sql/ ··· 40 }; 41 # There is no ./loaders but this does not cause troubles 42 # to go generate 43 + } // import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.42"; })