diff options
Diffstat (limited to 'pkgs/tools/security/notation')
-rw-r--r-- | pkgs/tools/security/notation/default.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pkgs/tools/security/notation/default.nix b/pkgs/tools/security/notation/default.nix deleted file mode 100644 index 07c9ef4997172..0000000000000 --- a/pkgs/tools/security/notation/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, testers, notation }: - -buildGoModule rec { - pname = "notation"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "notaryproject"; - repo = pname; - rev = "v${version}"; - hash = "sha256-MJBFdtx+HkPCN1SIohKOy33BW746GNN2fWkr7TIuBmk="; - }; - - vendorHash = "sha256-USkufc1dG4eyRfRJHSX4mVZHnvOc5onHenF98Aedac4="; - - # This is a Go sub-module and cannot be built directly (e2e tests). - excludedPackages = [ "./test" ]; - - ldflags = [ - "-s" - "-w" - "-X github.com/notaryproject/notation/internal/version.Version=${version}" - "-X github.com/notaryproject/notation/internal/version.BuildMetadata=" - ]; - - passthru.tests.version = testers.testVersion { - package = notation; - command = "notation version"; - }; - - meta = with lib; { - description = "CLI tool to sign and verify OCI artifacts and container images"; - homepage = "https://notaryproject.dev/"; - license = licenses.asl20; - maintainers = with maintainers; [ aaronjheng ]; - mainProgram = "notation"; - }; -} |