mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 03:03:34 +01:00
packages: Add nadesiko3
Adds the Japanese programming language なでしこ. Note that an upstream lockfile would be ideal before merging the PR in nixpkgs.
This commit is contained in:
parent
a9d96a06d9
commit
c9b79ccfb2
14225
assets/nadesiko3-package-lock.json
generated
Normal file
14225
assets/nadesiko3-package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
30
packages/nadesiko3.nix
Normal file
30
packages/nadesiko3.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "nadesiko3";
|
||||
version = "3.6.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/nadesiko3/-/nadesiko3-${version}.tgz";
|
||||
hash = "sha256-Y9kJErYwFgGCpL5uhXKOUmpheI2cwC4Rt5uHqoFIhTc=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-9HGoX+0xzw6ukrR4umCU+Gk9InmKgJ2CztASgD2kXdo=";
|
||||
|
||||
postPatch = ''
|
||||
ln -s ${../assets/nadesiko3-package-lock.json} package-lock.json
|
||||
'';
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = {
|
||||
description = "Japanese Programming Language Nadesiko v3 (JavaScript/TypeScript)";
|
||||
homepage = "https://nadesi.com";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "cnako3";
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user