codecrafters-cli: 34 -> 35 (#358424)

authored by Christian Kögler and committed by GitHub cbd27bf9 f0c2751b

+6 -4
+6 -4
pkgs/by-name/co/codecrafters-cli/package.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "codecrafters-cli"; 10 - version = "34"; 10 + version = "35"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "codecrafters-io"; 14 14 repo = "cli"; 15 15 rev = "v${version}"; 16 - hash = "sha256-+daBduhjUt7lrjTdXgm1qpZN1oEHC3Nx+ZiOLoO5+s4="; 16 + hash = "sha256-gCSlXI8DggQts7Em1onD4B5CxrfAlPuwovWRUgpsu/E="; 17 17 # A shortened git commit hash is part of the version output, and is 18 18 # needed at build time. Use the `.git` directory to retrieve the 19 19 # commit SHA, and remove the directory afterwards since it is not needed ··· 25 25 ''; 26 26 }; 27 27 28 - vendorHash = "sha256-TQcxzfiqKeCQZUKLHnPjBa/0WsYJhER3fmr4cRGFknw="; 28 + vendorHash = "sha256-lRDHe/7kCy8T4paA/6FVfM/sjBpvcGWLeW7b+dOnFo0="; 29 29 30 30 ldflags = [ 31 31 "-s" ··· 38 38 ldflags+=" -X github.com/codecrafters-io/cli/internal/utils.Commit=$(cat COMMIT)" 39 39 ''; 40 40 41 - doCheck = true; 41 + # We need to disable tests because the tests for respecting .gitignore 42 + # include setting up a global gitignore which doesn't work. 43 + doCheck = false; 42 44 43 45 nativeBuildInputs = [ git ]; 44 46