From dd64689d025acb43af9c8d75993c5c2716925326 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 16 Feb 2026 16:34:53 +0000 Subject: Add python-cfgraph. Upstream removed python-cfgraph. --- gn/packages/python.scm | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) (limited to 'gn/packages/python.scm') diff --git a/gn/packages/python.scm b/gn/packages/python.scm index e429058..2b25775 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -870,16 +870,36 @@ spreadsheets without the need for COM objects.") (description "Extensions to the standard Python datetime module") (license license:bsd-3))) -(define-public python-pyshex +(define-public python-cfgraph (package - (name "python-pyshex") - (version "0.7.14") + (name "python-cfgraph") + (version "0.2.1") (source (origin (method url-fetch) - (uri (pypi-uri "PyShEx" version)) + (uri (pypi-uri "CFGraph" version)) (sha256 - (base32 "1fy664bh6hpmr4cf49fwwxng36kv7s6b2986hbv0cqcypc4ri2cs")))) + (base32 + "0x7yz0lvqb6mkhl5fbml27sppmscgpf8v2ism9jzzf0h982ffzxm")))) + (build-system python-build-system) + (propagated-inputs + (list python-rdflib)) + (home-page "https://github.com/hsolbrig/CFGraph") + (synopsis "RDF Collections flattener for rdflib") + (description + "This package contains RDF Collections flattener for @code{rdflib}.") + (license license:asl2.0))) + +(define-public python-pyshex + (package + (name "python-pyshex") + (version "0.7.14") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyShEx" version)) + (sha256 + (base32 "1fy664bh6hpmr4cf49fwwxng36kv7s6b2986hbv0cqcypc4ri2cs")))) (arguments '(#:tests? #f ; Tests try to use the internet. #:phases -- cgit 1.4.1