tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
koto: refactor
Defelo
10 months ago
ac25dfd6
1ccde680
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ko
koto
package.nix
+6
-2
pkgs/by-name/ko/koto/package.nix
···
22
22
cargoHash = "sha256-Ok4rgqiQ7N5knXdb0Mfn3fYPPLXoRtOZVv8RvWR2h3k=";
23
23
24
24
postPatch = ''
25
25
-
${lib.getExe' yq "tomlq"} -ti 'del(.bench)' crates/koto/Cargo.toml
25
25
+
tomlq -ti 'del(.bench)' crates/koto/Cargo.toml
26
26
'';
27
27
+
28
28
+
nativeBuildInputs = [
29
29
+
yq # for `tomlq`
30
30
+
];
27
31
28
32
cargoBuildFlags = [ "--package=koto_cli" ];
29
33
···
36
40
meta = {
37
41
description = "Simple, expressive, embeddable programming language";
38
42
homepage = "https://github.com/koto-lang/koto";
39
39
-
changelog = "https://github.com/koto-lang/koto/blob/${finalAttrs.src.rev}/CHANGELOG.md";
43
43
+
changelog = "https://github.com/koto-lang/koto/blob/v${finalAttrs.version}/CHANGELOG.md";
40
44
license = lib.licenses.mit;
41
45
maintainers = with lib.maintainers; [ defelo ];
42
46
mainProgram = "koto";