Merge pull request #242140 from SuperSandro2000/dive

dive: 0.10.0 -> 0.11.0

authored by

Mario Rodas and committed by
GitHub
75113f97 cb6f81a5

+9 -7
+9 -7
pkgs/development/tools/dive/default.nix
··· 11 11 12 12 buildGoModule rec { 13 13 pname = "dive"; 14 - version = "0.10.0"; 14 + version = "0.11.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "wagoodman"; 18 - repo = pname; 18 + repo = "dive"; 19 19 rev = "v${version}"; 20 - sha256 = "sha256-1pmw8pUlek5FlI1oAuvLSqDow7hw5rw86DRDZ7pFAmA="; 20 + hash = "sha256-9REthyb+bzsb7NBXkU9XyUZJFQHHrV1cG4//lTLgTgw="; 21 21 }; 22 22 23 23 patches = [ 24 + # fixes: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod) 25 + # https://github.com/wagoodman/dive/pull/461 24 26 (fetchpatch { 25 - url = "https://github.com/wagoodman/dive/commit/fe9411c414418d839a8638bb9a12ccfc892b5845.patch"; 26 - sha256 = "sha256-c0TcUQ87CeOiXHoTQ3z/04i72aDr403DL7fIbXTJ9cY="; 27 + url = "https://github.com/wagoodman/dive/commit/555555d777f961ad0a2d1bb843e87f434d731dba.patch"; 28 + hash = "sha256-tPSgvENiVgrlQSkT7LbQPRYhkkaYQeWRJ0P4bA3XOiI="; 27 29 }) 28 30 ]; 29 31 30 - vendorSha256 = "sha256-YPkEei7d7mXP+5FhooNoMDARQLosH2fdSaLXGZ5C27o="; 32 + vendorHash = "sha256-6KIbTrkvdugsUKdFBqtPUFzs/6h2xslLFpr6S2nSBiY="; 31 33 32 34 nativeBuildInputs = [ pkg-config ]; 33 35 ··· 39 41 description = "A tool for exploring each layer in a docker image"; 40 42 homepage = "https://github.com/wagoodman/dive"; 41 43 license = licenses.mit; 42 - maintainers = with maintainers; [ marsam spacekookie SuperSandro2000 ]; 44 + maintainers = with maintainers; [ marsam SuperSandro2000 ]; 43 45 }; 44 46 }