unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: guixuser6392 via Guix-patches via <guix-patches@gnu.org>
To: 48122@debbugs.gnu.org
Subject: [bug#48122] [PATCH] gnu: Add python-vdf.
Date: Fri, 30 Apr 2021 14:51:53 +0000	[thread overview]
Message-ID: <HCEH9VOqxEiVKa_PKikLu0aJihKSda6hwRlDe6Wxdh7Zh1GMIXyr6mwED6VL2DhVbNBAp0pWZJUE1YzH5_16yEH3sPA7xn1NoY_q4YOZKCU=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 131 bytes --]


Hello, Guix!

This patch adds a package definition for Valve Data File (de)seralizer written in Python.

Regards,
pineapples

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-vdf.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-python-vdf.patch, Size: 1882 bytes --]

From 2ee393320515951ce943b961f05a48f46a4a71ef Mon Sep 17 00:00:00 2001
From: pineapples <guixuser6392@protonmail.com>
Date: Fri, 30 Apr 2021 16:01:01 +0200
Subject: [PATCH] gnu: Add python-vdf.

* gnu/packages/python-xyz.scm (python-vdf): New variable
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3fbb7b3366..b9b72c1740 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -99,6 +99,7 @@
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
 ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
+;;; Copyright © 2021 pineapples <guixuser6392@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25152,6 +25153,28 @@ runs on, such as a reliable machine-readable ID, or version information.")
 is the cythonized version of @code{fractions.Fraction}.")
     (license license:psfl)))
 
+(define-public python-vdf
+  (package
+    (name "python-vdf")
+    (version "3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "vdf" version))
+       (sha256
+        (base32
+         "1g3pjmsil2mfbagqgkh0kf9is0nsnls4416mq68q7q0fw8f914wi"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-mock" ,python-mock)
+       ("python-nose" ,python-nose)))
+    (home-page "https://github.com/ValvePython/vdf")
+    (synopsis "@acronym{VDF, Valve Data File} (de)serializer")
+    (description "This package provides a Python module for both deserialization
+and serialization to/from VDF that works just like @code{json}.")
+    (license license:expat)))
+
 (define-public python-pathvalidate
   (package
     (name "python-pathvalidate")
-- 
2.31.1


             reply	other threads:[~2021-04-30 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-30 14:51 guixuser6392 via Guix-patches via [this message]
2021-05-01 13:20 ` [bug#48122] [PATCH] gnu: Add python-vdf guixuser6392 via Guix-patches via
2021-05-01 16:58   ` Leo Famulari

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='HCEH9VOqxEiVKa_PKikLu0aJihKSda6hwRlDe6Wxdh7Zh1GMIXyr6mwED6VL2DhVbNBAp0pWZJUE1YzH5_16yEH3sPA7xn1NoY_q4YOZKCU=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=48122@debbugs.gnu.org \
    --cc=guixuser6392@protonmail.com \
    /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).