unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Raghav Gururajan" <raghavgururajan@disroot.org>
To: 40263@debbugs.gnu.org
Subject: [bug#40263] gnu: packages: crypto: Add libdecaf
Date: Fri, 27 Mar 2020 22:28:43 +0000	[thread overview]
Message-ID: <82283f5b8a03732fd615c0c8a63beaac@disroot.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Hello Guix!

Please find the attached patch to add "libdecaf" package.

Regards,
RG.

[-- Attachment #2: libdecaf.patch --]
[-- Type: application/octet-stream, Size: 2527 bytes --]

From 453d00938139cb773ebe7def47d0d46ba595ef99 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Fri, 27 Mar 2020 18:24:29 -0400
Subject: [PATCH 4/4] gnu: packages: crypto: Add libdecaf

* gnu/packages/crypto.scm (libdecaf): New variable.
---
 gnu/packages/crypto.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index afe85ae497..014e40cdaf 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
+;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,8 +42,10 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cryptsetup)
+  #:use-module (gnu packages documentation)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages graphviz)
   #:use-module (gnu packages image)
   #:use-module (gnu packages kerberos)
   #:use-module (gnu packages libbsd)
@@ -75,6 +78,42 @@
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-26))
 
+(define-public libdecaf
+ (package
+  (name "libdecaf")
+  (version "1.0")
+  (source
+   (origin
+    (method git-fetch)
+    (uri
+     (git-reference
+      (url "https://git.code.sf.net/p/ed448goldilocks/code")
+      (commit
+       (string-append "v" version))))
+    (file-name
+     (git-file-name name version))
+    (sha256
+     (base32 "1xr13pibx1c0gbjmir7rwyj7y2bwr6pmkysdl66w3yvjmvxipvk0"))))
+  (build-system cmake-build-system)
+  (arguments
+   '(#:configure-flags
+     (list
+      "-DENABLE_SHARED=ON"
+      "-DENABLE_STATIC=ON"
+      "-DENABLE_STRICT=YES"
+      "-DENABLE_TESTS=YES"
+      "-DGENERATED_SOURCE_PATH=OFF")))
+  (native-inputs
+   `(("dot" ,graphviz)
+     ("doxygen" ,doxygen)
+     ("python" ,python-2.7)))
+  (synopsis "Decaf Elliptic Curve Library")
+  (description "The libdecaf library is an implementation of elliptic curve
+cryptography using the Montgomery and Edwards curves Curve25519, Ed25519,
+Ed448-Goldilocks and Curve448, using the Decaf encoding.")
+  (home-page "http://ed448goldilocks.sourceforge.net/")
+  (license license:expat)))
+
 (define-public libsodium
   (package
     (name "libsodium")
-- 
2.26.0


             reply	other threads:[~2020-03-27 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 22:28 Raghav Gururajan [this message]
2020-06-01 21:12 ` [bug#40263] gnu: packages: crypto: Add libdecaf Jakub Kądziołka
2021-03-13 23:24 ` [bug#40263] LibDecaf Raghav Gururajan via Guix-patches via
2021-03-20  4:50 ` bug#40263: #40263 --> #47274 Raghav Gururajan via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82283f5b8a03732fd615c0c8a63beaac@disroot.org \
    --to=raghavgururajan@disroot.org \
    --cc=40263@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).