2022-02-13 18:51:52 +01:00
|
|
|
(use-modules (guix build-system haskell)
|
|
|
|
(guix download)
|
|
|
|
(guix gexp)
|
|
|
|
(guix git-download)
|
|
|
|
(guix licenses)
|
|
|
|
(guix packages)
|
|
|
|
(gnu packages haskell-xyz))
|
|
|
|
|
|
|
|
(let
|
|
|
|
((%source-dir (dirname (current-filename))))
|
|
|
|
(package
|
|
|
|
(name "SJW")
|
|
|
|
(version "devel")
|
|
|
|
(source
|
|
|
|
(local-file %source-dir
|
|
|
|
#:recursive? #t
|
|
|
|
#:select? (git-predicate %source-dir)))
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
(inputs
|
|
|
|
(list ghc-attoparsec
|
|
|
|
ghc-random
|
|
|
|
ghc-optparse-applicative))
|
|
|
|
(native-search-paths
|
|
|
|
(list
|
2022-08-09 19:27:45 +02:00
|
|
|
(search-path-specification (variable "SJW_PATH")
|
2022-02-13 18:51:52 +01:00
|
|
|
(files '("lib/SJW")))))
|
|
|
|
(home-page "https://git.marvid.fr/Tissevert/SJW")
|
|
|
|
(synopsis "The Simple Javascript Wrench")
|
|
|
|
(description
|
|
|
|
"SJW is a very simple tool to pack several JS modules into a single
|
2022-08-09 19:27:45 +02:00
|
|
|
script. It doesn't really do proper compilation work (yet) except
|
|
|
|
resolving the modules dependencies and detecting import loops but it
|
|
|
|
provides each module with an independent execution context in the
|
|
|
|
resulting script.")
|
|
|
|
(license gpl3+)))
|