From 3275edd5315aed37f924faf8596be2a0071ced40 Mon Sep 17 00:00:00 2001 From: nik gaffney Date: Sat, 9 Mar 2024 12:37:35 +0100 Subject: [PATCH] Put in earplugs --- channel/zzkt/packages/python-xyz.scm | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 channel/zzkt/packages/python-xyz.scm diff --git a/channel/zzkt/packages/python-xyz.scm b/channel/zzkt/packages/python-xyz.scm new file mode 100644 index 0000000..def0092 --- /dev/null +++ b/channel/zzkt/packages/python-xyz.scm @@ -0,0 +1,58 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2023 nik gaffney +;;; +;;; This file is not (yet) part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + + +;; via guix import pypi -r pyzotero + +(define-module (zzkt packages python-xyz) + #:use-module (gnu packages python-web) ;; python-requests + #:use-module (gnu packages python-xyz) ;; python-bibtexparser + #:use-module (gnu packages web) ;; python-feedparser, python-httpretty + #:use-module (gnu packages time) ;; python-pytz, python-dateutil + #:use-module (gnu packages test) ;; python-pytest + #:use-module (guix utils) + #:use-module (guix import utils) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix gexp) + #:use-module (guix git-download) + #:use-module (guix build-system pyproject) + #:use-module (guix build-system trivial)) + +(define-public python-pyzotero + (package + (name "python-pyzotero") + (version "1.5.18") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyzotero" version)) + (sha256 + (base32 "0bx4y7wasarm7yb8kj7rsf2vzjyin78wqs1bx6gb9fh3hy2wvkj2")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-bibtexparser + python-feedparser + python-pytz + python-requests)) + (native-inputs (list python-httpretty + python-pytest + python-dateutil)) + (home-page "https://github.com/urschrei/pyzotero") + (synopsis "Python wrapper for the Zotero API") + (description "Python wrapper for the Zotero API") + (license (spdx-string->license "MIT"))))