diff options
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix')
-rw-r--r-- | pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix new file mode 100644 index 0000000000000..c2b1ed9b5566f --- /dev/null +++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/yason.nix @@ -0,0 +1,21 @@ +args @ { fetchurl, ... }: +rec { + baseName = ''yason''; + version = ''v0.7.6''; + + description = ''JSON parser/encoder''; + + deps = [ args."alexandria" args."trivial-gray-streams" ]; + + src = fetchurl { + url = ''http://beta.quicklisp.org/archive/yason/2016-02-08/yason-v0.7.6.tgz''; + sha256 = ''00gfn14bvnw0in03y5m2ssgvhy3ppf5a3s0rf7mf4rq00c5ifchk''; + }; + + overrides = x: { + postInstall = '' + echo "$CL_SOURCE_REGISTRY" + NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :yason)"' "$out/bin/yason-lisp-launcher.sh" "" + ''; + }; +} |