diff options
Diffstat (limited to 'pkgs/development/lisp-modules/quicklisp-to-nix-output/local-time.nix')
-rw-r--r-- | pkgs/development/lisp-modules/quicklisp-to-nix-output/local-time.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/lisp-modules/quicklisp-to-nix-output/local-time.nix b/pkgs/development/lisp-modules/quicklisp-to-nix-output/local-time.nix new file mode 100644 index 0000000000000..f2cab2b59fbdc --- /dev/null +++ b/pkgs/development/lisp-modules/quicklisp-to-nix-output/local-time.nix @@ -0,0 +1,21 @@ +args @ { fetchurl, ... }: +rec { + baseName = ''local-time''; + version = ''20170124-git''; + + description = ''A library for manipulating dates and times, based on a paper by Erik Naggum''; + + deps = [ args."cl-fad" ]; + + src = fetchurl { + url = ''http://beta.quicklisp.org/archive/local-time/2017-01-24/local-time-20170124-git.tgz''; + sha256 = ''0nf21bhclr2cwpflf733wn6hr6mcz94dr796jk91f0ck28nf7ab1''; + }; + + overrides = x: { + postInstall = '' + echo "$CL_SOURCE_REGISTRY" + NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :local-time)"' "$out/bin/local-time-lisp-launcher.sh" "" + ''; + }; +} |