From 08c6fd951105df4d5048cad7005db2bbdf88242a Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Wed, 7 Sep 2022 12:58:44 +0000 Subject: gnu: python-sympy: Update to 1.11.1. All dependents successfully build except the continued failure of python-dolfin-adjoint: http://ci.guix.gnu.org/build/1306546/details * gnu/packages/python-xyz.scm (python-sympy): Update to 1.11.1. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a73f07ece30..79e4c2cdab9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10015,13 +10015,13 @@ function signatures.") (define-public python-sympy (package (name "python-sympy") - (version "1.10.1") + (version "1.11.1") (source (origin (method url-fetch) (uri (pypi-uri "sympy" version)) (sha256 - (base32 "0yvqb2fhrm81skl8s9znbkkjfb1a09n64qqlc1r225cyvzzywfar")))) + (base32 "0n46x1rfy8c2a9za3yp2va5icigxj805f9fmiq8c1drwwvf808z3")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From 8d34df72cbd400b04cc4c8e2b3d9102a1f9bb013 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 31 Aug 2022 19:38:29 +0530 Subject: gnu: Add python-pymonad. * gnu/packages/python-xyz.scm (python-pymonad): New variable. --- gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 79e4c2cdab9..21106bf8322 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29,7 +29,7 @@ ;;; Copyright © 2016-2022 Marius Bakke ;;; Copyright © 2016, 2017, 2021, 2022 Stefan Reichör ;;; Copyright © 2016, 2017, 2019 Alex Vong -;;; Copyright © 2016, 2017, 2018, 2021 Arun Isaac +;;; Copyright © 2016, 2017, 2018, 2021, 2022 Arun Isaac ;;; Copyright © 2016, 2017, 2018, 2020, 2021 Julien Lepiller ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Thomas Danckaert @@ -30746,3 +30746,40 @@ platform using the ActivityPub protocol.") "@code{python-lief} is a cross platform library which can parse, modify and abstract ELF, PE and MachO formats.") (license license:asl2.0))) + +(define-public python-pymonad + (package + (name "python-pymonad") + (version "2.4.0") + ;; The tests are incomplete in the PyPI archive. + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jasondelaat/pymonad") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ci1mpydldiyg9qv6d19ljhfh7wxlrl2k4mlvqd9bm7dqvpdjsx7")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./run_tests.sh"))))))) + (home-page "https://github.com/jasondelaat/pymonad") + (synopsis "Monadic style functional programming for Python") + (description "@code{python-pymonad} implements data structures typically +available in purely functional or functional first programming languages such +as Haskell and F#. Included are + +@itemize +@item Monad and Monoid data types with several common monads such as Maybe and +State +@item Useful tools such as the @code{@@curry} decorator for defining curried +functions +@item Type annotations to help ensure correct usage +@end itemize") + (license license:bsd-3))) -- cgit v1.2.3