mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 04:01:28 -06:00
gnu: python-graphql-relay: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-graphql-relay): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-poetry-core. [description]: Improve style. Change-Id: I41ac3412bf04646aeb3cabe0ec540b59985d2c0f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
5f3e41a9fc
commit
c661878fc7
1 changed files with 16 additions and 23 deletions
|
|
@ -23229,34 +23229,27 @@ numbers, real numbers, mixed types and more, and comes with a shell command
|
|||
(name "python-graphql-relay")
|
||||
(version "3.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "graphql-relay" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1d70vwam9gjhx7fqzsa03x7lc6ivcqki5r9pk8m7rslmb7pagmbh"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "tests")))))))
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/graphql-python/graphql-relay-py")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "06ybi4bwqdffa5kn8xnns06wh3l0zj3qlzrxk1wpxqq320hyzx9x"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments (list #:test-flags #~(list "tests")))
|
||||
(native-inputs
|
||||
(list
|
||||
python-pytest
|
||||
python-pytest-asyncio))
|
||||
(propagated-inputs
|
||||
(list python-graphql-core))
|
||||
(list python-pytest python-pytest-asyncio python-poetry-core))
|
||||
(propagated-inputs (list python-graphql-core))
|
||||
(home-page "https://github.com/graphql-python/graphql-relay-py")
|
||||
(synopsis "Relay implementation for Python")
|
||||
(description
|
||||
"This is a library to allow the easy creation of Relay-compliant servers
|
||||
using the GraphQL Python reference implementation of a GraphQL server. It
|
||||
should be noted that the code is a exact port of the original
|
||||
@url{https://github.com/graphql/graphql-relay-js,graphql-relay js implementation}
|
||||
from Facebook.")
|
||||
using the GraphQL Python reference implementation of a GraphQL server. It
|
||||
should be noted that the code is a exact port of the original
|
||||
@url{https://github.com/graphql/graphql-relay-js,graphql-relay js
|
||||
implementation} from Facebook.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-graphene
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue