gnu: Add python-whatthepatch.

* gnu/packages/python-web.scm (python-whatthepatch): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Nicolas Graves via Guix-patches via 2022-08-14 18:35:58 +02:00 committed by Mathieu Othacehe
parent 8fce5f0f0f
commit 18ae404690
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -53,6 +53,7 @@
;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -7761,3 +7762,20 @@ (define-public python-shopifyapi
ruby Shopify API gem. The library makes HTTP requests to Shopify in order to
list, create, update, or delete resources (e.g. Order, Product, Collection).")
(license license:expat)))
(define-public python-whatthepatch
(package
(name "python-whatthepatch")
(version "1.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "whatthepatch" version))
(sha256
(base32
"17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65"))))
(build-system python-build-system)
(home-page "https://github.com/cscorley/whatthepatch")
(synopsis "Patch parsing and application")
(description
"This package provides a library to parse and apply patches.")
(license license:expat)))