Merge pull request #239545 from aaronjheng/notation

This commit is contained in:
Janik 2023-06-26 20:08:34 +02:00 committed by GitHub
commit f797fb10b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "notation";
version = "1.0.0-rc.7";
src = fetchFromGitHub {
owner = "notaryproject";
repo = pname;
rev = "v${version}";
hash = "sha256-EM2QunSL88Am3zgKwgI94jET3xaVfvsa4MCtMZ3ejjU=";
};
vendorHash = "sha256-88PCnIm7nQB8jLzrfVOyDLXWX7RZeT31n1cwvb4Qza0=";
# This is a Go sub-module and cannot be built directly (e2e tests).
excludedPackages = [ "./test" ];
ldflags = [ "-s" "-w" ];
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 ];
};
}

View File

@ -10764,6 +10764,8 @@ with pkgs;
notary = callPackage ../tools/security/notary { };
notation = callPackage ../tools/security/notation { };
notify-osd = callPackage ../applications/misc/notify-osd { };
notes-up = callPackage ../applications/office/notes-up { };