unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Timotej Lazar <timotej.lazar@araneo.si>
To: 64747@debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar@araneo.si>,
	Lars-Dominik Braun <lars@6xq.net>, jgart <jgart@dismail.de>
Subject: [bug#64747] [PATCH] gnu: Add python-pynetbox.
Date: Thu, 20 Jul 2023 19:13:48 +0200	[thread overview]
Message-ID: <70f18c6352132594189e45021e5b0f31bc0d86cf.1689873228.git.timotej.lazar@araneo.si> (raw)

* gnu/packages/python-web.scm (python-pynetbox): New variable.
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f855a503b..bce7fbd0e8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8686,3 +8686,28 @@ (define-public python-enoslib
 scientific testbeds.  It lets you deploy networks of machines on actual
 hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.")
     (license license:gpl3+)))
+
+(define-public python-pynetbox
+  (package
+    (name "python-pynetbox")
+    (version "7.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pynetbox" version))
+              (sha256
+               (base32
+                "16ps9zgcjzyzn95lry277741i8php4ci3plsyd2vqxd57havba7b"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'disable-failing-tests
+                          (lambda _
+                            ;; Integration tests depend on docker.
+                            (delete-file-recursively "tests/integration"))))))
+    (propagated-inputs (list python-requests))
+    (native-inputs (list python-pytest python-pyyaml python-setuptools-scm))
+    (home-page "https://github.com/netbox-community/pynetbox")
+    (synopsis "NetBox API client library")
+    (description "Python module to query and edit data stored in a
+@url{https://netbox.dev,NetBox} instance.")
+    (license license:asl2.0)))

base-commit: 21b718f4d6c3ded8ef50d12f6e9ae6474f74620f
-- 
2.41.0





             reply	other threads:[~2023-07-20 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 17:13 Timotej Lazar [this message]
2023-10-05 15:27 ` [bug#64747] [PATCH] gnu: Add python-pynetbox Mathieu Othacehe
2023-10-05 16:32   ` bug#64747: " Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70f18c6352132594189e45021e5b0f31bc0d86cf.1689873228.git.timotej.lazar@araneo.si \
    --to=timotej.lazar@araneo.si \
    --cc=64747@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).