diff options
-rw-r--r-- | third_party/lisp/npg/.skip-subtree | 1 | ||||
-rw-r--r-- | third_party/lisp/npg/OWNERS | 3 | ||||
-rw-r--r-- | third_party/lisp/npg/README | 9 | ||||
-rw-r--r-- | third_party/lisp/npg/default.nix | 14 |
4 files changed, 26 insertions, 1 deletions
diff --git a/third_party/lisp/npg/.skip-subtree b/third_party/lisp/npg/.skip-subtree new file mode 100644 index 000000000000..5051f60d6b86 --- /dev/null +++ b/third_party/lisp/npg/.skip-subtree @@ -0,0 +1 @@ +prevent readTree from creating entries for subdirs that don't contain an .nix files diff --git a/third_party/lisp/npg/OWNERS b/third_party/lisp/npg/OWNERS new file mode 100644 index 000000000000..f16dd105d761 --- /dev/null +++ b/third_party/lisp/npg/OWNERS @@ -0,0 +1,3 @@ +inherited: true +owners: + - sterni diff --git a/third_party/lisp/npg/README b/third_party/lisp/npg/README index c69ef9080a76..a1661e744a37 100644 --- a/third_party/lisp/npg/README +++ b/third_party/lisp/npg/README @@ -3,6 +3,13 @@ for Common Lisp Copyright (C) 2003-2006, 2010 by Walter C. Pelissero + Copyright (C) 2021 by the TVL Authors + +Vendored into depot as it is a dependency of mime4cl and upstream has +become inactive. Upstream and depot version may diverge. + +Upstream Website: http://wcp.sdf-eu.org/software/#npg +Vendored Tarball: http://wcp.sdf-eu.org/software/npg-20150517T144652.tbz This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -36,6 +43,6 @@ though. Multiple concurrent parsers are supported. -To compile, an ASDF file is provided. +To compile, an ASDF and nix file are provided. See the examples directory for clues on how to use it. diff --git a/third_party/lisp/npg/default.nix b/third_party/lisp/npg/default.nix new file mode 100644 index 000000000000..af7ec53eaf93 --- /dev/null +++ b/third_party/lisp/npg/default.nix @@ -0,0 +1,14 @@ +# Copyright (C) 2021 by the TVL Authors +# SPDX-License-Identifier: LGPL-2.1-or-later +{ depot, pkgs, ... }: + +depot.nix.buildLisp.library { + name = "npg"; + + srcs = [ + ./src/package.lisp + ./src/common.lisp + ./src/define.lisp + ./src/parser.lisp + ]; +} |