about summary refs log tree commit diff
path: root/pkgs/by-name/no
diff options
context:
space:
mode:
authorMoritz Sanft <58110325+msanft@users.noreply.github.com>2024-06-10 08:49:56 +0200
committerMoritz Sanft <58110325+msanft@users.noreply.github.com>2024-06-25 08:38:42 +0200
commit1b6089e945d6c8f3bdb196370c1a0fc7233570ef (patch)
tree97811e155c9deac311649fdb42f9a231c52d8760 /pkgs/by-name/no
parent8793dda3894cd837baecf5be0be825f1bc284d0f (diff)
notary: 0.6.1 -> 0.6.1-unstable-2024-04-16
Diffstat (limited to 'pkgs/by-name/no')
-rw-r--r--pkgs/by-name/no/notary/package.nix57
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/by-name/no/notary/package.nix b/pkgs/by-name/no/notary/package.nix
new file mode 100644
index 0000000000000..1f35222ee9600
--- /dev/null
+++ b/pkgs/by-name/no/notary/package.nix
@@ -0,0 +1,57 @@
+{ lib
+, fetchFromGitHub
+, buildGoModule
+}:
+buildGoModule rec {
+  pname = "notary";
+  version = "0.6.1-unstable-2024-04-16";
+
+  src = fetchFromGitHub {
+    owner = "notaryproject";
+    repo = "notary";
+    rev = "9d2b3b35929392c9945d976b8bdecbe2f53a299e";
+    sha256 = "sha256-u19BfTJwRWholK0b3BcgSmcMM9AR7OeXo64AOi87r0A=";
+  };
+
+  vendorHash = null;
+
+  tags = [
+    "pkcs11"
+  ];
+
+  ldflags = [
+    "-X github.com/theupdateframework/notary/version.NotaryVersion=${version}"
+  ];
+
+  # Tests try to use network.
+  doCheck = false;
+
+  meta = {
+    description = "Project that allows anyone to have trust over arbitrary collections of data";
+    mainProgram = "notary";
+    longDescription = ''
+      The Notary project comprises a server and a client for running and
+      interacting with trusted collections. See the service architecture
+      documentation for more information.
+
+      Notary aims to make the internet more secure by making it easy for people
+      to publish and verify content. We often rely on TLS to secure our
+      communications with a web server which is inherently flawed, as any
+      compromise of the server enables malicious content to be substituted for
+      the legitimate content.
+
+      With Notary, publishers can sign their content offline using keys kept
+      highly secure. Once the publisher is ready to make the content available,
+      they can push their signed trusted collection to a Notary Server.
+
+      Consumers, having acquired the publisher's public key through a secure
+      channel, can then communicate with any notary server or (insecure) mirror,
+      relying only on the publisher's key to determine the validity and
+      integrity of the received content.
+    '';
+    license = lib.licenses.asl20;
+    homepage = "https://github.com/theupdateframework/notary";
+    maintainers = [ lib.maintainers.vdemeester ];
+    platforms = lib.platforms.unix;
+  };
+}