diff options
author | Sisiutl <sisiutl@egregore.fun> | 2024-11-20 19:37:06 +0100 |
---|---|---|
committer | Sisiutl <sisiutl@egregore.fun> | 2024-11-20 20:36:23 +0100 |
commit | cff2554f56751679616abedfa9c939e25d5a9146 (patch) | |
tree | fdf7e1fc96132af43e93fdb4b1144dc1d9eeafb4 /sigils/packages/solana.scm | |
parent | 2048438fa6bfb343df698a375fac858001f3de1c (diff) |
add @solana-developers/helpers and split solana with node-xyz
Diffstat (limited to 'sigils/packages/solana.scm')
-rw-r--r-- | sigils/packages/solana.scm | 786 |
1 files changed, 486 insertions, 300 deletions
diff --git a/sigils/packages/solana.scm b/sigils/packages/solana.scm index 8dee406..7095e8f 100644 --- a/sigils/packages/solana.scm +++ b/sigils/packages/solana.scm @@ -4,7 +4,9 @@ #:use-module (guix gexp) #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix build-system node)) + #:use-module (guix build-system node) + #:use-module (gnu packages node-xyz) + #:use-module (sigils packages node-xyz)) (define-public node-solana-signers-2.0.0 (package @@ -250,28 +252,6 @@ (description "Defines all default Solana RPC methods as types") (license license:expat))) -(define-public node-undici-types-6.21.0 - (package - (name "node-undici-types") - (version "6.21.0") - (source - (origin - (method url-fetch) - (uri - "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz") - (sha256 - (base32 "0vfidx8iwc7ab1p13fxy6bf35njqkii6nkwgah78b249w6jsk8fg")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build)))) - (home-page "https://undici.nodejs.org") - (synopsis "A stand-alone types package for Undici") - (description "A stand-alone types package for Undici") - (license license:expat))) - (define-public node-solana-rpc-spec-2.0.0 (package (name "node-solana-rpc-spec") @@ -512,120 +492,6 @@ (description "Defines all default Solana RPC subscriptions as types") (license license:expat))) -(define-public node-bufferutil-4.0.8 - (package - (name "node-bufferutil") - (version "4.0.8") - (source - (origin - (method url-fetch) - (uri "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.8.tgz") - (sha256 - (base32 "14g9x2wl77m1g5sydbfjx3n706k9jmd83qky99v91f2znxidjbsw")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("mocha" "node-gyp" "prebuildify"))))))) - (inputs (list node-node-gyp-build-4.8.3)) - (home-page "https://github.com/websockets/bufferutil") - (synopsis "WebSocket buffer utils") - (description "WebSocket buffer utils") - (license license:expat))) - -(define-public node-node-gyp-build-4.8.3 - (package - (name "node-node-gyp-build") - (version "4.8.3") - (source - (origin - (method url-fetch) - (uri - "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.3.tgz") - (sha256 - (base32 "1wbswi5hm8i56ygrc89kj0rykjiyb4f295g93qrl5ky6vp36ch1w")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("array-shuffle" "standard" - "tape"))))))) - (home-page "https://github.com/prebuild/node-gyp-build") - (synopsis - "Build tool and bindings loader for node-gyp that supports prebuilds") - (description - "Build tool and bindings loader for node-gyp that supports prebuilds") - (license license:expat))) - -(define-public node-utf-8-validate-6.0.5 - (package - (name "node-utf-8-validate") - (version "6.0.5") - (source - (origin - (method url-fetch) - (uri - "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-6.0.5.tgz") - (sha256 - (base32 "068499ci706d117rk8fda9pqn5kf9k8ci4gjbgngcghli8iyrv5l")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("mocha" "node-gyp" "prebuildify" - "prebuildify-cross"))))))) - (inputs (list node-node-gyp-build-4.8.3)) - (home-page "https://github.com/websockets/utf-8-validate") - (synopsis "Check if a buffer contains valid UTF-8") - (description "Check if a buffer contains valid UTF-8") - (license license:expat))) - -(define-public node-ws-8.18.0 - (package - (name "node-ws") - (version "8.18.0") - (source - (origin - (method url-fetch) - (uri "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz") - (sha256 - (base32 "086aqhby8vzclz4az64rplzz9iw8k2ddhy01r92cjwhlhpr230m0")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("benchmark" "bufferutil" - "eslint" - "eslint-config-prettier" - "eslint-plugin-prettier" - "globals" - "mocha" - "nyc" - "prettier" - "utf-8-validate"))))))) - (home-page "https://github.com/websockets/ws") - (synopsis - "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js") - (description - "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js") - (license license:expat))) - (define-public node-solana-promises-2.0.0 (package (name "node-solana-promises") @@ -855,31 +721,6 @@ (description "Helpers for generating account addresses") (license license:expat))) -(define-public node-fastestsmallesttextencoderdecoder-1.0.22 - (package - (name "node-fastestsmallesttextencoderdecoder") - (version "1.0.22") - (source - (origin - (method url-fetch) - (uri - "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz") - (sha256 - (base32 "0vgcmpr8cikkl5hfpj83rg1mswvyhl6pnh7jmlsnf5ig294lz2pz")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build)))) - (home-page - "https://github.com/anonyco/FastestSmallestTextEncoderDecoder#quick-start") - (synopsis - "The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with â¤ï¸ from ðs.") - (description - "The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with â¤ï¸ from ðs.") - (license license:cc0))) - (define-public node-solana-codecs-strings-2.0.0 (package (name "node-solana-codecs-strings") @@ -994,144 +835,6 @@ (description "Helpers for creating transaction instructions") (license license:expat))) -(define-public node-typescript-5.6.3 - (package - (name "node-typescript") - (version "5.6.3") - (source - (origin - (method url-fetch) - (uri "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz") - (sha256 - (base32 "1yihmqbqn0vr626567yvqpiwl4pi9gix6fbk9c15hn49mpcghrzg")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("c8" "ms" - "chai" - "diff" - "glob" - "knip" - "chalk" - "mocha" - "tslib" - "which" - "dprint" - "eslint" - "hereby" - "esbuild" - "globals" - "chokidar" - "minimist" - "@types/ms" - "@eslint/js" - "node-fetch" - "playwright" - "typescript" - "@types/chai" - "@types/diff" - "@types/node" - "@types/mocha" - "@types/which" - "jsonc-parser" - "@octokit/rest" - "@types/minimist" - "fast-xml-parser" - "@dprint/formatter" - "@esfx/canceltoken" - "typescript-eslint" - "@dprint/typescript" - "source-map-support" - "eslint-plugin-regexp" - "azure-devops-node-api" - "@typescript-eslint/utils" - "@types/source-map-support" - "monocart-coverage-reports" - "@typescript-eslint/type-utils" - "@typescript-eslint/rule-tester" - "mocha-fivemat-progress-reporter" - "eslint-formatter-autolinkable-stylish"))))))) - (home-page "https://www.typescriptlang.org/") - (synopsis - "TypeScript is a language for application scale JavaScript development") - (description - "TypeScript is a language for application scale JavaScript development") - (license license:asl2.0))) - -(define-public node-chalk-5.3.0 - (package - (name "node-chalk") - (version "5.3.0") - (source - (origin - (method url-fetch) - (uri "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz") - (sha256 - (base32 "1s9jw9vj09n9wmyljva6h47wv7h2bbfy16c61443vac7g7l1zbh2")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("c8" "xo" - "ava" - "tsd" - "execa" - "matcha" - "log-update" - "yoctodelay" - "@types/node" - "color-convert"))))))) - (home-page "https://github.com/chalk/chalk#readme") - (synopsis "Terminal string styling done right") - (description "Terminal string styling done right") - (license license:expat))) - -(define-public node-commander-12.1.0 - (package - (name "node-commander") - (version "12.1.0") - (source - (origin - (method url-fetch) - (uri "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz") - (sha256 - (base32 "0wriyw347v5iy6m3xwz2vba61ksrs0ijibi8nja6yj7yv9nzrbsn")))) - (build-system node-build-system) - (arguments - (list - #:tests? #f - #:phases #~(modify-phases %standard-phases - (delete 'build) - (add-after 'patch-dependencies 'delete-dev-dependencies - (lambda _ - (delete-dependencies '("tsd" "jest" - "eslint" - "globals" - "ts-jest" - "prettier" - "@eslint/js" - "typescript" - "@types/jest" - "@types/node" - "typescript-eslint" - "eslint-plugin-jest" - "eslint-plugin-jsdoc" - "prettier-plugin-jsdoc" - "eslint-config-prettier"))))))) - (home-page "https://github.com/tj/commander.js#readme") - (synopsis "the complete solution for node.js command-line programs") - (description "the complete solution for node.js command-line programs") - (license license:expat))) - (define-public node-solana-errors-2.0.0 (package (name "node-solana-errors") @@ -1353,3 +1056,486 @@ (description "Solana Javascript API") (license license:expat))) +(define-public node-solana-buffer-layout-utils-0.2.0 + (package + (name "node-solana-buffer-layout-utils") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/buffer-layout-utils/-/buffer-layout-utils-0.2.0.tgz") + (sha256 + (base32 "0ysb39i58wa5dnfw4kigd4m0nrcslk0lnklwjy37ykw0j3inn2dr")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("shx" "tslib" + "eslint" + "ts-node" + "typedoc" + "gh-pages" + "prettier" + "typescript" + "@types/node" + "@types/eslint" + "typescript-esm" + "@types/prettier" + "eslint-config-prettier" + "eslint-plugin-prettier" + "@typescript-eslint/parser" + "@types/eslint-plugin-prettier" + "@typescript-eslint/eslint-plugin"))))))) + (inputs (list node-solana-buffer-layout-4.0.1 node-solana-web3-js-1.95.4 + node-bigint-buffer-1.1.5 node-bignumber-js-9.1.2)) + (home-page "https://github.com/solana-labs/buffer-layout-utils#readme") + (synopsis "Coming soon.") + (description "Coming soon.") + (license license:asl2.0))) + +(define-public node-solana-spl-token-group-0.0.7 + (package + (name "node-solana-spl-token-group") + (version "0.0.7") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/spl-token-group/-/spl-token-group-0.0.7.tgz") + (sha256 + (base32 "0r7f114w47rcj9lsvnphja78v945rd5sfrgq6zp168cl8x1nh967")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("@solana/spl-type-length-value" + "@solana/web3.js" + "@types/chai" + "@types/mocha" + "@types/node" + "@typescript-eslint/eslint-plugin" + "@typescript-eslint/parser" + "chai" + "eslint" + "eslint-plugin-require-extensions" + "gh-pages" + "mocha" + "shx" + "ts-node" + "tslib" + "typedoc" + "typescript"))))))) + (inputs (list node-solana-codecs-2.0.0-rc.1 node-solana-web3-js-1.95.4)) + (home-page "https://github.com/solana-labs/solana-program-library#readme") + (synopsis "SPL Token Group Interface JS API") + (description "SPL Token Group Interface JS API") + (license license:asl2.0))) + +(define-public node-solana-spl-token-0.4.9 + (package + (name "node-solana-spl-token") + (version "0.4.9") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/spl-token/-/spl-token-0.4.9.tgz") + (sha256 + (base32 "0kzcmwdifskm2y2cp82mx0a4737wgrjk49wzwhkxfj2q2rwb957y")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("@solana/codecs-strings" + "@solana/spl-memo" + "@solana/web3.js" + "@types/chai-as-promised" + "@types/chai" + "@types/mocha" + "@types/node" + "@types/node-fetch" + "@typescript-eslint/eslint-plugin" + "@typescript-eslint/parser" + "chai" + "chai-as-promised" + "eslint" + "eslint-plugin-require-extensions" + "gh-pages" + "mocha" + "process" + "shx" + "start-server-and-test" + "ts-node" + "typedoc" + "typescript"))))))) + (inputs (list node-buffer-6.0.3 + node-solana-spl-token-metadata-0.1.6 + node-solana-spl-token-group-0.0.7 + node-solana-buffer-layout-utils-0.2.0 + node-solana-buffer-layout-4.0.1 + node-solana-web3-js-1.95.4)) + (home-page "https://github.com/solana-labs/solana-program-library#readme") + (synopsis "SPL Token Program JS API") + (description "SPL Token Program JS API") + (license license:asl2.0))) + +(define-public node-solana-buffer-layout-4.0.1 + (package + (name "node-solana-buffer-layout") + (version "4.0.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz") + (sha256 + (base32 "0gsrsdinrf7i5708sjpxjllychw9vp2b85k5gw0h52xrvmsz5snz")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("shx" "jsdoc" + "mocha" + "eslint" + "lodash" + "typedoc" + "gh-pages" + "istanbul" + "coveralls" + "typescript" + "@typescript-eslint/parser" + "@typescript-eslint/eslint-plugin"))))))) + (inputs (list node-buffer-6.0.3)) + (home-page "https://github.com/solana-labs/buffer-layout") + (synopsis "Translation between JavaScript values and Buffers") + (description "Translation between JavaScript values and Buffers") + (license license:expat))) + +(define-public node-solana-web3-js-1.95.4 + (package + (name "node-solana-web3-js") + (version "1.95.4") + (source + (origin + (method url-fetch) + (uri "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.4.tgz") + (sha256 + (base32 "14s4h1qy522y54dn5fvj15vfb9ra9p10cbph8wxlsishpl85iqc5")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build)))) + (inputs (list node-fast-stable-stringify-1.0.0 + node-solana-buffer-layout-4.0.1 + node-rpc-websockets-9.0.4 + node-agentkeepalive-4.5.0 + node-babel-runtime-7.26.0 + node-bigint-buffer-1.1.5 + node-noble-hashes-1.5.0 + node-noble-curves-1.6.0 + node-superstruct-2.0.2 + node-node-fetch-2.7.0 + node-jayson-4.1.2 + node-buffer-6.0.3 + node-borsh-0.7.0 + node-bn-js-5.2.1 + node-bs58-4.0.1)) + (home-page "https://solana.com/") + (synopsis "Solana Javascript API") + (description "Solana Javascript API") + (license license:expat))) + +(define-public node-solana-options-2.0.0-rc.1 + (package + (name "node-solana-options") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/options/-/options-2.0.0-rc.1.tgz") + (sha256 + (base32 "0rzwa9z4vryxgfkcjij82fgndk3zmhnq61a9rk67qsl45wa0k11k")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-solana-codecs-data-structures-2.0.0-rc.1 + node-solana-codecs-strings-2.0.0-rc.1 + node-solana-codecs-numbers-2.0.0-rc.1 + node-solana-codecs-core-2.0.0-rc.1 + node-solana-errors-2.0.0-rc.1 + node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "Managing and serializing Rust-like Option types in JavaScript") + (description + "Managing and serializing Rust-like Option types in JavaScript") + (license license:expat))) + +(define-public node-solana-codecs-strings-2.0.0-rc.1 + (package + (name "node-solana-codecs-strings") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/codecs-strings/-/codecs-strings-2.0.0-rc.1.tgz") + (sha256 + (base32 "1zsxm4grxg1pw4zag583ncilni23gp9k2drdwl1x32l5m6l5jhjc")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript" + "fastestsmallesttextencoderdecoder"))))))) + (inputs (list node-solana-codecs-numbers-2.0.0-rc.1 + node-solana-codecs-core-2.0.0-rc.1 + node-solana-errors-2.0.0-rc.1 + node-fastestsmallesttextencoderdecoder-1.0.22 + node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "Codecs for strings of different sizes and encodings") + (description "Codecs for strings of different sizes and encodings") + (license license:expat))) + +(define-public node-solana-errors-2.0.0-rc.1 + (package + (name "node-solana-errors") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/errors/-/errors-2.0.0-rc.1.tgz") + (sha256 + (base32 "006d4zs1z97qrmp9k2sfvcxi948jn4p2gglbk6cc41w16w68a902")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-commander-12.1.0 node-chalk-5.3.0 node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "Throw, identify, and decode Solana JavaScript errors") + (description "Throw, identify, and decode Solana JavaScript errors") + (license license:expat))) + +(define-public node-solana-codecs-core-2.0.0-rc.1 + (package + (name "node-solana-codecs-core") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/codecs-core/-/codecs-core-2.0.0-rc.1.tgz") + (sha256 + (base32 "0b35s6hrxrbhf7c6rvbnxl4hl7c4908w02m6a9hgsm6gfp4nmjcl")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-solana-errors-2.0.0-rc.1 node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis + "Core types and helpers for encoding and decoding byte arrays on Solana") + (description + "Core types and helpers for encoding and decoding byte arrays on Solana") + (license license:expat))) + +(define-public node-solana-codecs-numbers-2.0.0-rc.1 + (package + (name "node-solana-codecs-numbers") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/codecs-numbers/-/codecs-numbers-2.0.0-rc.1.tgz") + (sha256 + (base32 "0fxhflf5kdb106zf6ych3nkmxk7q4rqkqdp910xhsc5a7xlcjinb")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-solana-codecs-core-2.0.0-rc.1 + node-solana-errors-2.0.0-rc.1 node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "Codecs for numbers of different sizes and endianness") + (description "Codecs for numbers of different sizes and endianness") + (license license:expat))) + +(define-public node-solana-codecs-data-structures-2.0.0-rc.1 + (package + (name "node-solana-codecs-data-structures") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/codecs-data-structures/-/codecs-data-structures-2.0.0-rc.1.tgz") + (sha256 + (base32 "11z464vispxk17sim1k7qmxjqq5csfmm3gq08spha2rwnry580b3")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-solana-codecs-numbers-2.0.0-rc.1 + node-solana-codecs-core-2.0.0-rc.1 + node-solana-errors-2.0.0-rc.1 node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "Codecs for various data structures") + (description "Codecs for various data structures") + (license license:expat))) + +(define-public node-solana-codecs-2.0.0-rc.1 + (package + (name "node-solana-codecs") + (version "2.0.0-rc.1") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/codecs/-/codecs-2.0.0-rc.1.tgz") + (sha256 + (base32 "06m95i11prh0snlcw465xspwrchs24y36rp8g8rdqd54xbiiia8l")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("typescript"))))))) + (inputs (list node-solana-codecs-data-structures-2.0.0-rc.1 + node-solana-codecs-strings-2.0.0-rc.1 + node-solana-codecs-numbers-2.0.0-rc.1 + node-solana-codecs-core-2.0.0-rc.1 + node-solana-options-2.0.0-rc.1 + node-typescript-5.6.3)) + (home-page "https://github.com/solana-labs/solana-web3.js#readme") + (synopsis "A library for encoding and decoding any data structure") + (description "A library for encoding and decoding any data structure") + (license license:expat))) + +(define-public node-solana-spl-token-metadata-0.1.6 + (package + (name "node-solana-spl-token-metadata") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana/spl-token-metadata/-/spl-token-metadata-0.1.6.tgz") + (sha256 + (base32 "0w0zgakn3dc5sjkglxjg2cnfwdfsls2ghawijb6vpkgmrf9p52cp")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("@solana/spl-type-length-value" + "@solana/web3.js" + "@types/chai" + "@types/mocha" + "@types/node" + "@typescript-eslint/eslint-plugin" + "@typescript-eslint/parser" + "chai" + "eslint" + "eslint-plugin-require-extensions" + "gh-pages" + "mocha" + "shx" + "ts-node" + "tslib" + "typedoc" + "typescript"))))))) + (inputs (list node-solana-codecs-2.0.0-rc.1 node-solana-web3-js-1.95.4)) + (home-page "https://github.com/solana-labs/solana-program-library#readme") + (synopsis "SPL Token Metadata Interface JS API") + (description "SPL Token Metadata Interface JS API") + (license license:asl2.0))) + +(define-public node-solana-developers-helpers-2.5.6 + (package + (name "node-solana-developers-helpers") + (version "2.5.6") + (source + (origin + (method url-fetch) + (uri + "https://registry.npmjs.org/@solana-developers/helpers/-/helpers-2.5.6.tgz") + (sha256 + (base32 "00kap8sxzdl5dqnl33qlr7npdxb4vaq49rildrq73mn0j97b09fl")))) + (build-system node-build-system) + (arguments + (list + #:tests? #f + #:phases #~(modify-phases %standard-phases + (delete 'build) + (add-after 'patch-dependencies 'delete-dev-dependencies + (lambda _ + (delete-dependencies '("esbuild" "prettier" + "typescript" "@types/node" + "esbuild-register"))))))) + (inputs (list node-solana-spl-token-metadata-0.1.6 + node-solana-spl-token-0.4.9 node-solana-web3-js-1.95.4 + node-dotenv-16.4.5 node-bs58-6.0.0)) + (home-page "https://www.npmjs.com/package/node-solana-developers-helpers") + (synopsis "Solana helper functions") + (description "Solana helper functions") + (license license:expat))) + |