Skip to content

Commit fd9f1d9

Browse files
authored
lips: init at 1.0.0-beta.20 (NixOS#369206)
2 parents 4dc8b23 + 0607737 commit fd9f1d9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

pkgs/by-name/li/lips/package.nix

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
lib,
3+
buildNpmPackage,
4+
fetchFromGitHub,
5+
versionCheckHook,
6+
nix-update-script,
7+
}:
8+
9+
buildNpmPackage rec {
10+
pname = "lips";
11+
version = "1.0.0-beta.20";
12+
13+
src = fetchFromGitHub {
14+
owner = "jcubic";
15+
repo = "lips";
16+
tag = version;
17+
hash = "sha256-zvdtFfa+1Ols3TZSe2XCbGX9hColwGV/ReTJcTrrA4k=";
18+
};
19+
20+
npmDepsHash = "sha256-7YeKTcBGsyiI6U0PeddAcs2x/O0LL/DT00KuSkqfy2A=";
21+
npmInstallFlags = [ "--only=prod" ];
22+
dontBuild = true; # dist folder is checked in
23+
dontNpmBuild = true;
24+
25+
doInstallCheck = true;
26+
nativeInstallCheckInputs = [
27+
versionCheckHook
28+
];
29+
30+
passthru = {
31+
updateScript = nix-update-script { };
32+
};
33+
34+
meta = {
35+
description = "Powerful Scheme based Lisp in JavaScript";
36+
homepage = "https://lips.js.org";
37+
changelog = "https://github.com/jcubic/lips/releases/tag/${version}";
38+
license = lib.licenses.mit;
39+
maintainers = with lib.maintainers; [ DimitarNestorov ];
40+
platforms = lib.platforms.all;
41+
mainProgram = "lips";
42+
};
43+
}

0 commit comments

Comments
 (0)