From 0d9f15868535fbb65d4920387755005acec7f63b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 20 Jul 2022 08:29:40 +0200 Subject: [PATCH] gnu: Add python-shopifyapi. * gnu/packages/python-web.scm (python-shopifyapi): New variable. --- gnu/packages/python-web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 57ad194333..896e60aba2 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7738,3 +7738,26 @@ code- and protocol-based conventions that make it easy for Active Resource to infer complex relations and structures.") (license license:expat))) +(define-public python-shopifyapi + (package + (name "python-shopifyapi") + (version "12.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "ShopifyAPI" version)) + (sha256 + (base32 + "03np9mkycqbw5l5vk0srmq353q3vmbycbbarzv0cg3z703p81gnb")))) + (build-system python-build-system) + (native-inputs (list python-mock)) + (propagated-inputs (list python-pyactiveresource python-pyjwt + python-pyyaml python-six)) + (home-page "https://github.com/Shopify/shopify_python_api") + (synopsis "Shopify API for Python") + (description "This package provides the Shopify API for Python. + +The ShopifyAPI library allows Python developers to programmatically access the +admin section of stores using an ActiveResource-like interface similar the +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)))