mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
nongnu: Add node-cfworker-json-schema.
* nongnu/packages/claude-code.scm (node-cfworker-json-schema): New variable.
This commit is contained in:
parent
3f8a0fc904
commit
b861b820a5
1 changed files with 44 additions and 0 deletions
|
|
@ -3162,3 +3162,47 @@ autonomous code editing.")
|
|||
framework.")
|
||||
(license license:expat)))
|
||||
|
||||
(define node-cfworker-json-schema
|
||||
(package
|
||||
(name "node-cfworker-json-schema")
|
||||
(version "4.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-"
|
||||
version ".tgz"))
|
||||
(sha256
|
||||
(base32 "00q2c41ji1v1jar17yvd5hz8h9kpbvxnx2m73xkz01858mmhga7k"))))
|
||||
(build-system node-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'patch-dependencies 'delete-dev-dependencies
|
||||
(lambda _
|
||||
(modify-json (delete-dev-dependencies))))
|
||||
(add-after 'delete-dev-dependencies 'delete-build-scripts
|
||||
(lambda _
|
||||
(with-atomic-json-file-replacement
|
||||
(lambda (pkg)
|
||||
(map (lambda (kv)
|
||||
(if (equal? (car kv) "scripts")
|
||||
(cons "scripts"
|
||||
(filter
|
||||
(lambda (s)
|
||||
(not
|
||||
(member (car s)
|
||||
'("build" "prepare"
|
||||
"prepack" "postinstall"))))
|
||||
(cdr kv)))
|
||||
kv))
|
||||
pkg)))))
|
||||
(delete 'build))))
|
||||
(home-page "https://www.npmjs.com/package/@cfworker/json-schema")
|
||||
(synopsis "JSON Schema validator for Workers")
|
||||
(description "This package provides a JSON Schema validator that runs on Cloudflare
|
||||
Workers, supporting drafts 4, 7, 2019-09, and 2020-12.")
|
||||
(license license:expat)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue