Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

koto: refactor

Defelo ac25dfd6 1ccde680

+6 -2
+6 -2
pkgs/by-name/ko/koto/package.nix
··· 22 22 cargoHash = "sha256-Ok4rgqiQ7N5knXdb0Mfn3fYPPLXoRtOZVv8RvWR2h3k="; 23 23 24 24 postPatch = '' 25 - ${lib.getExe' yq "tomlq"} -ti 'del(.bench)' crates/koto/Cargo.toml 25 + tomlq -ti 'del(.bench)' crates/koto/Cargo.toml 26 26 ''; 27 + 28 + nativeBuildInputs = [ 29 + yq # for `tomlq` 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 - changelog = "https://github.com/koto-lang/koto/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 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";