Skip to content

Commit e6f803f

Browse files
lips: init at 1.0.0-beta.20
1 parent f23f3b8 commit e6f803f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

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

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

0 commit comments

Comments
 (0)