Loading pkgs/by-name/ra/ratchet/package.nix +13 −11 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ fetchFromGitHub, callPackage, }: buildGoModule rec { pname = "ratchet"; version = "0.10.0"; version = "0.10.2"; # ratchet uses the git sha-1 in the version string, e.g. # Loading @@ -19,12 +20,13 @@ buildGoModule rec { src = fetchFromGitHub { owner = "sethvargo"; repo = "ratchet"; rev = "ebb7f24e0cbc288ab913b635480412934a2a5371"; hash = "sha256-Wt1/ahKQ8DOquXU5u6p+an9FJ5kYRl7F2EXOv/2rHlA="; rev = "ee93c849418d0b9316703bb349055a4078ad205e"; hash = "sha256-pVpZB8WWGgFbu0iK6gM2lEaXN4IqDJ1lMtVnUfcE4MQ="; }; proxyVendor = true; vendorHash = "sha256-J7LijbhpKDIfTcQMgk2x5FVaYG7Kgkba/1aSTmgs5yw="; vendorHash = "sha256-KKHlegmvpmmUZGoiEawgSUwOPQEfTjfzTYvere1YAv4="; subPackages = [ "." ]; Loading @@ -41,28 +43,28 @@ buildGoModule rec { ]; doInstallCheck = true; installCheckPhase = '' $out/bin/ratchet --version 2>&1 | grep ${version}; ''; installPhase = '' runHook preInstall mkdir -p $out/bin install -Dm755 "$GOPATH/bin/ratchet" -T $out/bin/ratchet runHook postInstall ''; passthru.tests = { execution = callPackage ./tests.nix { }; }; passthru.tests.execution = callPackage ./tests.nix { }; meta = with lib; { meta = { description = "Tool for securing CI/CD workflows with version pinning"; mainProgram = "ratchet"; downloadPage = "https://github.com/sethvargo/ratchet"; homepage = "https://github.com/sethvargo/ratchet"; license = licenses.asl20; maintainers = with maintainers; [ license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cameronraysmith ryanccn ]; Loading Loading
pkgs/by-name/ra/ratchet/package.nix +13 −11 Original line number Diff line number Diff line Loading @@ -4,9 +4,10 @@ fetchFromGitHub, callPackage, }: buildGoModule rec { pname = "ratchet"; version = "0.10.0"; version = "0.10.2"; # ratchet uses the git sha-1 in the version string, e.g. # Loading @@ -19,12 +20,13 @@ buildGoModule rec { src = fetchFromGitHub { owner = "sethvargo"; repo = "ratchet"; rev = "ebb7f24e0cbc288ab913b635480412934a2a5371"; hash = "sha256-Wt1/ahKQ8DOquXU5u6p+an9FJ5kYRl7F2EXOv/2rHlA="; rev = "ee93c849418d0b9316703bb349055a4078ad205e"; hash = "sha256-pVpZB8WWGgFbu0iK6gM2lEaXN4IqDJ1lMtVnUfcE4MQ="; }; proxyVendor = true; vendorHash = "sha256-J7LijbhpKDIfTcQMgk2x5FVaYG7Kgkba/1aSTmgs5yw="; vendorHash = "sha256-KKHlegmvpmmUZGoiEawgSUwOPQEfTjfzTYvere1YAv4="; subPackages = [ "." ]; Loading @@ -41,28 +43,28 @@ buildGoModule rec { ]; doInstallCheck = true; installCheckPhase = '' $out/bin/ratchet --version 2>&1 | grep ${version}; ''; installPhase = '' runHook preInstall mkdir -p $out/bin install -Dm755 "$GOPATH/bin/ratchet" -T $out/bin/ratchet runHook postInstall ''; passthru.tests = { execution = callPackage ./tests.nix { }; }; passthru.tests.execution = callPackage ./tests.nix { }; meta = with lib; { meta = { description = "Tool for securing CI/CD workflows with version pinning"; mainProgram = "ratchet"; downloadPage = "https://github.com/sethvargo/ratchet"; homepage = "https://github.com/sethvargo/ratchet"; license = licenses.asl20; maintainers = with maintainers; [ license = lib.licenses.asl20; maintainers = with lib.maintainers; [ cameronraysmith ryanccn ]; Loading