nixpkgs/pkgs/development/lisp-modules/quicklisp-to-nix/nix-package.emb

23 lines
566 B
Text
Raw Normal View History

args @ { fetchurl, ... }:
rec {
baseName = ''<% @var filename %>'';
version = ''<% @var version %>'';<% @if parasites %>
parasites = [<% (dolist (p (getf env :parasites)) (format t " \"~A\"" p)) %> ];<% @endif %>
description = ''<% @var description %>'';
deps = [ <% @loop deps %>args."<% @var filename %>" <% @endloop %>];
src = fetchurl {
url = ''<% @var url %>'';
sha256 = ''<% @var sha256 %>'';
};
packageName = "<% @var name %>";
asdFilesToKeep = ["<% @var name %>.asd"];
overrides = x: x;
}
/* <%= cl-emb-intern::topenv %> */