Re: [PATCH 1/2] gnu: Add python-axolotl-curve25519.
Leo Famulari writes: > It's the 3 clause BSD license. I pushed the patches, thanks! Just saw this mail. Thank you! signature.asc Description: PGP signature
Re: [PATCH 1/2] gnu: Add python-axolotl-curve25519.
On Thu, Oct 20, 2016 at 04:41:00PM +0530, Arun Isaac wrote: > > > +(license (list license:gpl3; Most files > > + license:isc ; curve/curve25519-donna.c > > Do double check whether the license of curve/curve25519-donna.c is the > ISC license. I am not awfully sure. It's the 3 clause BSD license. I pushed the patches, thanks! signature.asc Description: PGP signature
Re: [PATCH 1/2] gnu: Add python-axolotl-curve25519.
> +(license (list license:gpl3; Most files > + license:isc ; curve/curve25519-donna.c Do double check whether the license of curve/curve25519-donna.c is the ISC license. I am not awfully sure. signature.asc Description: PGP signature
[PATCH 1/2] gnu: Add python-axolotl-curve25519.
* gnu/packages/python.scm (python-axolotl-curve25519, python2-axolotl-curve25519): New variables. --- gnu/packages/python.scm | 34 ++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9019fc3..8c6481a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2016 Marius Bakke;;; Copyright © 2016 Stefan Reichoer ;;; Copyright © 2016 Dylan Jeffers +;;; Copyright © 2016 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -11226,3 +11227,36 @@ useful as a validator for JSON data.") (define-public python2-validictory (package-with-python2 python-validictory)) + +(define-public python-axolotl-curve25519 + (package +(name "python-axolotl-curve25519") +(version "0.1") +(source + (origin + (method git-fetch) + (uri (git-reference + (url "git://github.com/tgalal/python-axolotl-curve25519") + (commit "e4a9c4de0eae27223200579c58d1f8f6d20637e2"))) + (file-name (string-append name "-" version "-checkout")) + (sha256 +(base32 + "0agap5q0hmvf6cwzjqc05kw53pjgf6942pcivpazksmg1vk400ra" +(build-system python-build-system) +(arguments + `(;; Prevent creation of the egg. This works around + ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 + #:configure-flags '("--root=/"))) +(native-inputs + `(("python-setuptools" ,python-setuptools))) +(home-page "https://github.com/tgalal/python-axolotl-curve25519;) +(synopsis "Python wrapper for curve25519 library") +(description "This is a python wrapper for the curve25519 library +with ed25519 signatures. The C code was pulled from +libaxolotl-android. At the moment this wrapper is meant for use by +python-axolotl.") +(license (list license:gpl3; Most files + license:isc ; curve/curve25519-donna.c + +(define-public python2-axolotl-curve25519 + (package-with-python2 python-axolotl-curve25519)) -- 2.10.1
Re: [PATCH 1/2] gnu: Add python-axolotl-curve25519.
Marius Bakke writes: > You can provide a list of licenses in the license field. I'll send an updated patch soon. signature.asc Description: PGP signature
Re: [PATCH 1/2] gnu: Add python-axolotl-curve25519.
Arun Isaac writes: > +(license license:gpl3))) The file curve/curve25519-donna.c is licensed under a different license with Google Inc. as the copyright holder. The rest of the code is under GPL3. So, what license should I specify in the package definition? signature.asc Description: PGP signature
[PATCH 1/2] gnu: Add python-axolotl-curve25519.
* gnu/packages/python.scm (python-axolotl-curve25519, python2-axolotl-curve25519): New variables. --- gnu/packages/python.scm | 33 + 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c5a39f4..326b2dd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2016 Marius Bakke;;; Copyright © 2016 Stefan Reichoer ;;; Copyright © 2016 Dylan Jeffers +;;; Copyright © 2016 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -11058,3 +11059,35 @@ with an associated set of resolve methods that know how to fetch data.") provide extendible implementations of common aspects of a cloud so that you can focus on building massively scalable web applications.") (license license:expat))) + +(define-public python-axolotl-curve25519 + (package +(name "python-axolotl-curve25519") +(version "0.1") +(source + (origin + (method git-fetch) + (uri (git-reference + (url "git://github.com/tgalal/python-axolotl-curve25519") + (commit "e4a9c4de0eae27223200579c58d1f8f6d20637e2"))) + (file-name (string-append name "-" version "-checkout")) + (sha256 +(base32 + "0agap5q0hmvf6cwzjqc05kw53pjgf6942pcivpazksmg1vk400ra" +(build-system python-build-system) +(arguments + `(;; Prevent creation of the egg. This works around + ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 + #:configure-flags '("--root=/"))) +(native-inputs + `(("python-setuptools" ,python-setuptools))) +(home-page "https://github.com/tgalal/python-axolotl-curve25519;) +(synopsis "Python wrapper for curve25519 library") +(description "This is a python wrapper for the curve25519 library +with ed25519 signatures. The C code was pulled from +libaxolotl-android. At the moment this wrapper is meant for use by +python-axolotl.") +(license license:gpl3))) + +(define-public python2-axolotl-curve25519 + (package-with-python2 python-axolotl-curve25519)) -- 2.10.1