me
/
guix
Archived
1
0
Fork 0

gnu: pep-engine: Update to 2.1.34.

* gnu/packages/pep.scm (fdik-libetpan): Update to current development
  version. [source]: Switch to pep.foundation.
  (pep-engine): Update to 2.1.34. [source]: Switch to new git repo.
  [arguments]<make-flags>: Enable release-build.
  [inputs]: Use normal sequoia.
* gnu/packages/sequoia.scm (sequoia4pEp): Remove variable.
master
Hartmut Goebel 2021-05-04 21:03:59 +02:00
parent c7f023723c
commit 85d80283b6
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
2 changed files with 14 additions and 88 deletions

View File

@ -65,9 +65,9 @@ shell provides options to redirect the output into a pipe or a file.")
(define fdik-libetpan (define fdik-libetpan
;; pEp Engine requires libetpan with a set of patches that have not been ;; pEp Engine requires libetpan with a set of patches that have not been
;; upstreamed yet. ;; upstreamed yet.
(let ((commit "210ba2b3b310b8b7a6ee4a4e35e50f7fa379643f") ; 2020-06-03 (let ((commit "0b80c39dd1504462ba3a39dc53db7c960c3a63f3") ; 2020-11-27
(checksum "00000nij3ray7nssvq0lzb352wmnab8ffzk7dgff2c68mvjbh1l6") (checksum "0gv3ivaziadybjlf6rfpv1j5z5418243v5cvl4swlxd2njsh7gjk")
(revision "5")) (revision "6"))
(package (package
(inherit libetpan) (inherit libetpan)
(name "fdik-libetpan") (name "fdik-libetpan")
@ -77,7 +77,7 @@ shell provides options to redirect the output into a pipe or a file.")
(inherit (package-source libetpan)) (inherit (package-source libetpan))
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/fdik/libetpan") (url "https://gitea.pep.foundation/pEp.foundation/libetpan")
(commit commit))) (commit commit)))
(file-name (string-append name "-" version)) (file-name (string-append name "-" version))
(sha256 (base32 checksum))))))) (sha256 (base32 checksum)))))))
@ -85,23 +85,24 @@ shell provides options to redirect the output into a pipe or a file.")
(define-public pep-engine (define-public pep-engine
(package (package
(name "pep-engine") (name "pep-engine")
(version "2.0.6") (version "2.1.34")
(source (source
(origin (origin
(method hg-fetch) (method git-fetch)
(uri (hg-reference (uri (git-reference
(url "https://pep.foundation/dev/repos/pEpEngine") (url "https://gitea.pep.foundation/pEp.foundation/pEpEngine")
(changeset "ebb62ba262dd"))) ;; r4721 (commit (string-append "Release_" version))))
(file-name (string-append name "-" version "-checkout")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0ljf79j4ng7l8w6pbdcrfzb4yk51zslypvq0n72ib1d7grqvnagi")))) (base32 "00q96y9j985qfa382acsz02i0zf6ayq2gmg8z70jzl04isg1h3cn"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:parallel-build? #f '(#:parallel-build? #f
#:make-flags '("NDEBUG=1") ; release build
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure (replace 'configure
;; pEpEngie does not use autotools and configure, ;; pEpEngine does not use autotools and configure,
;; but a local.conf. We need to tweak the values there. ;; but a local.conf. We need to tweak the values there.
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")) (let ((out (assoc-ref outputs "out"))
@ -132,7 +133,7 @@ OPENPGP=SEQUOIA
("libiconv" ,libiconv) ("libiconv" ,libiconv)
("nettle" ,nettle) ("nettle" ,nettle)
("openssl" ,openssl) ("openssl" ,openssl)
("sequoia" ,sequoia4pEp) ("sequoia" ,sequoia)
("sqlite3" ,sqlite) ("sqlite3" ,sqlite)
("util-linux" ,util-linux "lib"))) ;; uuid.h ("util-linux" ,util-linux "lib"))) ;; uuid.h
(home-page "https://pep.foundation/") (home-page "https://pep.foundation/")

View File

@ -218,78 +218,3 @@
several crates, providing both a low-level and a high-level API for dealing several crates, providing both a low-level and a high-level API for dealing
with OpenPGP data.") with OpenPGP data.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public sequoia4pEp
;; Currently pEp Engine requires sequoia in not-so-current version
(package
(inherit sequoia)
(name "sequoia")
(version "0.15.0-pEp")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/sequoia-pgp/sequoia.git")
(commit "0eb1b6cd846ea8c36b3dfdf01ec88383fc64f2fe")))
(sha256
(base32 "06dqs9whwp9lfibwp8dqm0aw4nm3s3v4jp2n4fz51zcvsld40nfh"))
(file-name (git-file-name name version))))
(arguments
(substitute-keyword-arguments (package-arguments sequoia)
((#:cargo-inputs _)
`(("rust-anyhow" ,rust-anyhow-1)
("rust-base64" ,rust-base64-0.11)
("rust-bzip2" ,rust-bzip2-0.3)
("rust-capnp" ,rust-capnp-0.10)
("rust-capnp-rpc" ,rust-capnp-rpc-0.10)
("rust-chrono" ,rust-chrono-0.4)
("rust-clap" ,rust-clap-2)
("rust-crossterm" ,rust-crossterm-0.13)
("rust-dirs" ,rust-dirs-2)
("rust-flate2" ,rust-flate2-1)
("rust-fs2" ,rust-fs2-0.4)
("rust-futures" ,rust-futures-0.1)
("rust-http" ,rust-http-0.1)
("rust-hyper" ,rust-hyper-0.12)
("rust-hyper-tls" ,rust-hyper-tls-0.3)
("rust-idna" ,rust-idna-0.2)
("rust-itertools" ,rust-itertools-0.8)
("rust-lalrpop" ,rust-lalrpop-0.17)
("rust-lalrpop-util" ,rust-lalrpop-util-0.17)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-memsec" ,rust-memsec-0.5)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-nettle" ,rust-nettle-7)
("rust-percent-encoding" ,rust-percent-encoding-2)
("rust-prettytable-rs" ,rust-prettytable-rs-0.8)
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quickcheck" ,rust-quickcheck-0.9)
("rust-quote" ,rust-quote-1)
("rust-rand" ,rust-rand-0.7)
("rust-regex" ,rust-regex-1)
("rust-rpassword" ,rust-rpassword-4)
("rust-rusqlite" ,rust-rusqlite-0.19)
("rust-sha2" ,rust-sha2-0.8)
("rust-syn" ,rust-syn-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-thiserror" ,rust-thiserror-1)
("rust-tokio" ,rust-tokio-0.1)
("rust-tokio-core" ,rust-tokio-core-0.1)
("rust-tokio-io" ,rust-tokio-io-0.1)
("rust-unicode-normalization" ,rust-unicode-normalization-0.1)
("rust-url" ,rust-url-2)
("rust-zbase32" ,rust-zbase32-0.1)))
((#:cargo-development-inputs _)
`(("rust-assert-cli" ,rust-assert-cli-0.6)
("rust-colored" ,rust-colored-1)
("rust-filetime" ,rust-filetime-0.2)))
((#:phases phases)
`(modify-phases ,phases
(replace 'unpin-deps
(lambda _
(substitute* (find-files "." "Cargo.toml")
(("= \"<") "= \"")
(("= \"=") "= \""))
#t))))))
(properties `((hidden? . #t)))))