nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ratchet: 0.10.0 -> 0.10.2

emaryn 9a91f6bc e26cdb64

+13 -11
+13 -11
pkgs/by-name/ra/ratchet/package.nix
··· 4 4 fetchFromGitHub, 5 5 callPackage, 6 6 }: 7 + 7 8 buildGoModule rec { 8 9 pname = "ratchet"; 9 - version = "0.10.0"; 10 + version = "0.10.2"; 10 11 11 12 # ratchet uses the git sha-1 in the version string, e.g. 12 13 # ··· 20 19 src = fetchFromGitHub { 21 20 owner = "sethvargo"; 22 21 repo = "ratchet"; 23 - rev = "ebb7f24e0cbc288ab913b635480412934a2a5371"; 24 - hash = "sha256-Wt1/ahKQ8DOquXU5u6p+an9FJ5kYRl7F2EXOv/2rHlA="; 22 + rev = "ee93c849418d0b9316703bb349055a4078ad205e"; 23 + hash = "sha256-pVpZB8WWGgFbu0iK6gM2lEaXN4IqDJ1lMtVnUfcE4MQ="; 25 24 }; 26 25 27 26 proxyVendor = true; 28 - vendorHash = "sha256-J7LijbhpKDIfTcQMgk2x5FVaYG7Kgkba/1aSTmgs5yw="; 27 + 28 + vendorHash = "sha256-KKHlegmvpmmUZGoiEawgSUwOPQEfTjfzTYvere1YAv4="; 29 29 30 30 subPackages = [ "." ]; 31 31 ··· 43 41 ]; 44 42 45 43 doInstallCheck = true; 44 + 46 45 installCheckPhase = '' 47 46 $out/bin/ratchet --version 2>&1 | grep ${version}; 48 47 ''; 49 48 50 49 installPhase = '' 51 50 runHook preInstall 52 - mkdir -p $out/bin 51 + 53 52 install -Dm755 "$GOPATH/bin/ratchet" -T $out/bin/ratchet 53 + 54 54 runHook postInstall 55 55 ''; 56 56 57 - passthru.tests = { 58 - execution = callPackage ./tests.nix { }; 59 - }; 57 + passthru.tests.execution = callPackage ./tests.nix { }; 60 58 61 - meta = with lib; { 59 + meta = { 62 60 description = "Tool for securing CI/CD workflows with version pinning"; 63 61 mainProgram = "ratchet"; 64 62 downloadPage = "https://github.com/sethvargo/ratchet"; 65 63 homepage = "https://github.com/sethvargo/ratchet"; 66 - license = licenses.asl20; 67 - maintainers = with maintainers; [ 64 + license = lib.licenses.asl20; 65 + maintainers = with lib.maintainers; [ 68 66 cameronraysmith 69 67 ryanccn 70 68 ];