summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorpinoaffe <pinoaffe@gmail.com>2025-09-22 09:38:45 +0200
committerSteve George <steve@futurile.net>2026-02-14 21:34:25 +0000
commit87a7c9272dce3959bec84f616b30e628dc175979 (patch)
tree0f3b362dc5a61556eac805604bd808045e0827c3 /gnu
parentde3ab26b29dbd9ab7038699a5163b1bdc7bdd19c (diff)
gnu: Add xmlbird.
* gnu/packages/xml.scm (xmlbird): New variable. Change-Id: Id4a0d359ef851cd01b846bfd16a788c2413dc947 Signed-off-by: Steve George <steve@futurile.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/xml.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 1660feb8538..e611cc3bd5f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -39,6 +39,7 @@
39;;; Copyright © 2025 Antoine Côté <antoine.cote@posteo.net> 39;;; Copyright © 2025 Antoine Côté <antoine.cote@posteo.net>
40;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com> 40;;; Copyright © 2025 John Kehayias <john.kehayias@protonmail.com>
41;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net> 41;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net>
42;;; Copyright © 2025 pinoaffe <pinoaffe@gmail.com>
42;;; 43;;;
43;;; This file is part of GNU Guix. 44;;; This file is part of GNU Guix.
44;;; 45;;;
@@ -75,6 +76,7 @@
75 #:use-module (gnu packages perl-check) 76 #:use-module (gnu packages perl-check)
76 #:use-module (gnu packages python-build) 77 #:use-module (gnu packages python-build)
77 #:use-module (gnu packages python) 78 #:use-module (gnu packages python)
79 #:use-module (gnu packages python-xyz)
78 #:use-module (gnu packages tls) 80 #:use-module (gnu packages tls)
79 #:use-module (gnu packages web) 81 #:use-module (gnu packages web)
80 #:use-module ((guix licenses) #:prefix license:) 82 #:use-module ((guix licenses) #:prefix license:)
@@ -472,6 +474,43 @@ MIF, SGML2SGML, and FOT.")
472 (license (license:non-copyleft "file://COPYING" 474 (license (license:non-copyleft "file://COPYING"
473 "See COPYING in the distribution.")))) 475 "See COPYING in the distribution."))))
474 476
477(define-public xmlbird
478 (package
479 (name "xmlbird")
480 (version "1.2.14")
481 (source (origin
482 (method git-fetch)
483 (uri (git-reference
484 (url "https://github.com/johanmattssonm/xmlbird")
485 (commit (string-append "v" version))))
486 (file-name (git-file-name name version))
487 (sha256
488 (base32
489 "0wgdg6zlccfm4lz2yx8axxp38bhy2sxwbi7cb2p80bb8y81npb3v"))))
490 (build-system gnu-build-system)
491 (arguments (list
492 #:phases
493 #~(modify-phases %standard-phases
494 (replace 'configure
495 (lambda* (#:key outputs #:allow-other-keys)
496 (system* "python3" "configure"
497 "--libdir=/lib"
498 "--prefix" (assoc-ref outputs "out"))))
499 (replace 'build
500 (lambda _ (system* "doit")))
501 (replace 'check
502 (lambda* (#:key tests? #:allow-other-keys)
503 (when tests? (system* "doit" "test"))))
504 (replace 'install
505 (lambda _ (system* "python3" "install.py"))))))
506 (inputs (list vala glib))
507 (native-inputs (list python-wrapper python-doit pkg-config))
508 (home-page "https://github.com/johanmattssonm/xmlbird")
509 (synopsis "XML parser for Vala and C programs")
510 (description "XML Bird is an XML parser library for programs written in Vala or C.
511It is developed for use by the @code{birdfont} font editor.")
512 (license license:lgpl3)))
513
475(define-public perl-graph-readwrite 514(define-public perl-graph-readwrite
476 (package 515 (package
477 (name "perl-graph-readwrite") 516 (name "perl-graph-readwrite")