~ruther/guix-local

54c542063f1fb447c9a03831d2cfd5bd4800e135 — Nicolas Graves 3 months ago 527e692
gnu: python-onetimepass: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-onetimepass):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: I6d01244eb8bf16e2d88e360477bc99f3f48739fa
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 12 insertions(+), 6 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +12 -6
@@ 26982,16 26982,22 @@ You can simply type pybtex instead of bibtex.")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "onetimepass" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/tadeck/onetimepass/")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "09vagxgbq78wvq4xbikmn2hpqqsa2i96kqsmphf7dqynfv0dlsd5"))))
    (build-system python-build-system)
        (base32 "0wmv62l3r8r4428gdzyj80lhgadfqvj220khz1wnm9alyzg60wkh"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))  ; Requires unpackaged timecop.
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-six))
    (home-page "https://github.com/tadeck/onetimepass/")
    (synopsis "One-time password library")
    (description "Python one-time password library for HMAC-based (HOTP) and
time-based (TOTP) passwords.")
    (description
     "Python one-time password library for HMAC-based (HOTP) and time-based
(TOTP) passwords.")
    (license license:expat)))

(define-public python-online-judge-api-client