Update node-jsfxr
modules/cogd/packages/node-xyz.scm
| 13 | 13 | #:prefix license:)) | |
| 14 | 14 | ||
| 15 | 15 | (define-public node-jsfxr | |
| 16 | - | (let ((commit "b1eef9b4266d7eada7d737205e56ef373cb1c1c4") | |
| 17 | - | (revision "0")) | |
| 16 | + | (let ((commit "d9d3fd8cc813dfe4f442b0e4d0c1fc45625262e0") | |
| 17 | + | (revision "1")) | |
| 18 | 18 | (package | |
| 19 | 19 | (name "node-jsfxr") | |
| 20 | - | (version (git-version "1.2.2" revision commit)) | |
| 20 | + | (version (git-version "1.3.0" revision commit)) | |
| 21 | 21 | (source | |
| 22 | 22 | (origin | |
| 23 | 23 | (method git-fetch) | |
… | |||
| 26 | 26 | (commit commit))) | |
| 27 | 27 | (file-name (git-file-name name version)) | |
| 28 | 28 | (sha256 | |
| 29 | - | (base32 "1smqwx6q3dks2iji54lwhhixvgs1pkqc5si71jqylgsvmwy4b76a")))) | |
| 29 | + | (base32 "0bz5qsw6xzszabv1mgqr3nx3mig9w7icsq61rhni54p7g8xpcr3m")))) | |
| 30 | 30 | (build-system node-build-system) | |
| 31 | 31 | (arguments | |
| 32 | 32 | (list | |
| 33 | 33 | #:tests? #f | |
| 34 | 34 | #:phases | |
| 35 | 35 | #~(modify-phases %standard-phases | |
| 36 | - | ;; Install the web interface in a separate output. | |
| 37 | - | (add-after 'unpack 'install-web | |
| 38 | - | (lambda _ | |
| 39 | - | (let ((web (string-append #$output:web "/share/web/jsxfr/"))) | |
| 40 | - | (install-file "index.html" web) | |
| 41 | - | (install-file "riffwave.js" web) | |
| 42 | - | (install-file "sfxr.js" web) | |
| 43 | - | (copy-recursively "jquery" (string-append web "jquery"))))) | |
| 44 | - | ;; Cleanup according to the "files" field in package.json. | |
| 45 | - | (add-after 'install-web 'cleanup | |
| 46 | - | (lambda _ | |
| 47 | - | (delete-file-recursively "jquery") | |
| 48 | - | (for-each delete-file | |
| 49 | - | '(".hgignore" | |
| 50 | - | "CNAME" | |
| 51 | - | "NOTES" | |
| 52 | - | "index.html" | |
| 53 | - | "jsfxr-pro-screenshot.png" | |
| 54 | - | "screenshot.png" | |
| 55 | - | "tests.js")))) | |
| 56 | 36 | (add-after 'patch-dependencies 'delete-dev-dependencies | |
| 57 | 37 | (lambda _ | |
| 58 | - | (modify-json (delete-dependencies '("live-server" "tape")))))))) | |
| 59 | - | (outputs (list "out" "web")) | |
| 38 | + | (modify-json (delete-dependencies '("@playwright/test" | |
| 39 | + | "live-server" "tape")))))))) | |
| 40 | + | (outputs (list "out")) | |
| 60 | 41 | (home-page "https://github.com/chr15m/jsfxr") | |
| 61 | 42 | (synopsis "Game sound effects generator") | |
| 62 | 43 | (description | |