guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/11: gnu: Add python-arcp.


From: guix-commits
Subject: 09/11: gnu: Add python-arcp.
Date: Mon, 23 Nov 2020 08:45:47 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 5c3d81802d1ddd8150d4843376ea6fcbab5e65d7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 23 11:28:13 2020 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bdab421..6fd1336 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16307,6 +16307,38 @@ preservation.")
 PROV-O (RDF), PROV-XML, PROV-JSON import/export.")
     (license license:expat)))
 
+(define-public python-arcp
+  (package
+    (name "python-arcp")
+    (version "0.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "arcp" version))
+        (sha256
+         (base32
+          "1p8mfyjssa6pbn5dp6pyzv9yy6kwm2rz5jn2kjbq5vy9f9wsq5sw"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "http://arcp.readthedocs.io/";)
+    (synopsis
+     "Archive and Package URI parser and generator")
+    (description
+     "@acronym{arcp, Archive and Package} provides functions for creating
+@code{arcp_} URIs, which can be used for identifying or parsing hypermedia 
files
+packaged in an archive or package, like a ZIP file.  arcp URIs can be used to
+consume or reference hypermedia resources bundled inside a file archive or an
+application package, as well as to resolve URIs for archive resources within a
+programmatic framework.  This URI scheme provides mechanisms to generate a
+unique base URI to represent the root of the archive, so that relative URI
+references in a bundled resource can be resolved within the archive without
+having to extract the archive content on the local file system.  An arcp URI 
can
+be used for purposes of isolation (e.g. when consuming multiple archives),
+security constraints (avoiding \"climb out\" from the archive), or for
+externally identiyfing sub-resources referenced by hypermedia formats.")
+    (license license:asl2.0)))
+
 (define-public python-validators
   (package
     (name "python-validators")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]