mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 02:20:53 +02:00
gnu: Add sajson-for-gemmi.
* gnu/packages/cpp.scm (sajson-for-gemmi): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
fd4342728d
commit
3cbb634a89
3 changed files with 215 additions and 0 deletions
|
@ -2102,6 +2102,22 @@ different floating point sizes and complex transformations.")
|
|||
parsing with only a single memory allocation.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public sajson-for-gemmi
|
||||
(package/inherit sajson
|
||||
(name "sajson-for-gemmi")
|
||||
(source (origin
|
||||
(inherit (package-source sajson))
|
||||
(patches (cons
|
||||
(search-patch
|
||||
"sajson-for-gemmi-numbers-as-strings.patch")
|
||||
(origin-patches (package-source sajson))))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments sajson)
|
||||
;; This is a modified version used in gemmi, in which numbers are kept
|
||||
;; as strings. Building the tests fails with the modification.
|
||||
((#:tests? _ #f) #f)))
|
||||
(properties '((hidden? . #t)))))
|
||||
|
||||
(define-public optionparser
|
||||
(package
|
||||
(name "optionparser")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue