From d9e1075e280098346c836b922be7b67a2c09a9f2 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 9 Jan 2020 00:04:52 +0000 Subject: feat(third_party/lisp): Add derivation for Alexandria --- third_party/lisp/alexandria.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 third_party/lisp/alexandria.nix (limited to 'third_party') diff --git a/third_party/lisp/alexandria.nix b/third_party/lisp/alexandria.nix new file mode 100644 index 0000000000..dbe0554d62 --- /dev/null +++ b/third_party/lisp/alexandria.nix @@ -0,0 +1,32 @@ +# Alexandria is one of the foundational Common Lisp libraries that +# pretty much everything depends on: +# +# https://common-lisp.net/project/alexandria/ +{ pkgs, ... }: + +let src = builtins.fetchGit { + url = "https://gitlab.common-lisp.net/alexandria/alexandria"; + rev = "1224346a48770dc07a68ef3e612b9ac3d611eb07"; +}; +in pkgs.nix.buildLisp.library { + name = "alexandria"; + srcs = map (f: src + ("/" + f)) [ + "package.lisp" + "definitions.lisp" + "binding.lisp" + "strings.lisp" + "conditions.lisp" + "symbols.lisp" + "macros.lisp" + "functions.lisp" + "io.lisp" + "hash-tables.lisp" + "control-flow.lisp" + "lists.lisp" + "types.lisp" + "arrays.lisp" + "sequences.lisp" + "numbers.lisp" + "features.lisp" + ]; +} -- cgit 1.4.1