diff options
| author | Daniel Khodabakhsh <d@niel.khodabakh.sh> | 2025-06-24 08:37:22 -0700 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-01-27 10:39:44 +0100 |
| commit | 699ddb16ddd169f901db271938114ab1a69beaaa (patch) | |
| tree | 7f1f16e10f88c9dd194459356c73ef89f228773d /gnu | |
| parent | bde545386f64d65b2c63d6f6b7f613dbf3c69be2 (diff) | |
gnu: Add node-isexe.
* gnu/packages/node-xyz.scm (node-isexe): New variable.
Change-Id: I412db97f7c94d3eed15edf9ca9a27f843a3079aa
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/node-xyz.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 2396ee9e5a..64b182d017 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -575,6 +575,31 @@ It contains functions for colours as well as more complex formatting such as rainbows.") (license license:expat))) +(define-public node-isexe + (package + (name "node-isexe") + (version "2.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/isaacs/isexe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18rh937j0m0jkzdxfdvvjv6nsdbrdqipnq7nvv1ab7b7rjyw5id3")))) + (build-system node-build-system) + (arguments (list + #:tests? #f ; FIXME: Tests require 'tap'. + #:phases #~(modify-phases %standard-phases + (add-before 'patch-dependencies 'modify-package (lambda _ + (modify-json + (delete-dev-dependencies))))))) + (synopsis "Minimal module to check if a file is executable.") + (description "Minimal module to check if a file is executable, and a normal file. +Uses fs.stat.") + (home-page (git-reference-url (origin-uri source))) + (license license:isc))) + (define-public node-long-stack-traces (package (name "node-long-stack-traces") |
