mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-srsly.
* gnu/packages/python-xyz.scm (python-srsly): New variable.
This commit is contained in:
parent
ffcd2315e4
commit
d8dcd1200a
1 changed files with 34 additions and 0 deletions
|
@ -31881,6 +31881,40 @@ uses the parsed regular expression, so you get a much more accurate result
|
||||||
than trying to just split strings.")
|
than trying to just split strings.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public python-srsly
|
||||||
|
(package
|
||||||
|
(name "python-srsly")
|
||||||
|
(version "2.4.6")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "srsly" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0vsafkvk4g0p5m0dqrczqvlyza837i20xxmb24rrqk5s78r1zd27"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'build-extensions
|
||||||
|
(lambda _
|
||||||
|
;; Cython extensions have to be built before running the tests.
|
||||||
|
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||||
|
(propagated-inputs (list python-catalogue))
|
||||||
|
(native-inputs
|
||||||
|
(list python-cython
|
||||||
|
python-pytest
|
||||||
|
python-pytest-timeout
|
||||||
|
python-mock
|
||||||
|
python-numpy
|
||||||
|
python-psutil))
|
||||||
|
(home-page "https://github.com/explosion/srsly")
|
||||||
|
(synopsis "Serialization utilities for Python")
|
||||||
|
(description "This package bundles some of the best Python serialization
|
||||||
|
libraries into one standalone package, with a high-level API that makes it
|
||||||
|
easy to write code that's correct across platforms and Pythons.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-pyperf
|
(define-public python-pyperf
|
||||||
(package
|
(package
|
||||||
(name "python-pyperf")
|
(name "python-pyperf")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue