mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-axolotl: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-axolotl): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Replace phase 'remove-tests by phase 'cleanup-install. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. [description]: Run guix style. Change-Id: I70bb567982555cf96b6bc84e2900b33910b05414 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
4bbb6c0c03
commit
2b2daab068
1 changed files with 23 additions and 18 deletions
|
@ -690,28 +690,33 @@ python-axolotl.")
|
||||||
(version "0.2.3")
|
(version "0.2.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "python-axolotl" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/tgalal/python-axolotl")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0bwzsyb3z54259kh667m714n28r6jp8almb5mrx48ar0pgashsrl"))))
|
||||||
"1bwdp24fmriffwx91aigs9k162albb51iskp23nc939z893q23py"))))
|
(build-system pyproject-build-system)
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
;; Don't install tests
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'install 'remove-tests
|
;; Don't install tests
|
||||||
(lambda _
|
(add-after 'install 'cleanup-install
|
||||||
(for-each delete-file-recursively
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
'("axolotl/tests" "build/lib/axolotl/tests"))
|
(delete-file-recursively
|
||||||
#t)))))
|
(string-append (site-packages inputs outputs)
|
||||||
(propagated-inputs
|
"/axolotl/tests")))))))
|
||||||
(list python-axolotl-curve25519 python-cryptography python-protobuf))
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
|
(propagated-inputs (list python-axolotl-curve25519 python-cryptography
|
||||||
|
python-protobuf))
|
||||||
(home-page "https://github.com/tgalal/python-axolotl")
|
(home-page "https://github.com/tgalal/python-axolotl")
|
||||||
(synopsis "Python port of libaxolotl-android")
|
(synopsis "Python port of libaxolotl-android")
|
||||||
(description "This is a python port of libaxolotl-android. This
|
(description
|
||||||
is a ratcheting forward secrecy protocol that works in synchronous and
|
"This is a python port of libaxolotl-android. This is a ratcheting
|
||||||
asynchronous messaging environments.")
|
forward secrecy protocol that works in synchronous and asynchronous messaging
|
||||||
|
environments.")
|
||||||
(license license:gpl3)))
|
(license license:gpl3)))
|
||||||
|
|
||||||
(define-public python-omemo-dr
|
(define-public python-omemo-dr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue