rune: init at 0.12.4

https://rune-rs.github.io/
This commit is contained in:
figsoda 2023-08-20 18:35:27 -04:00
parent b9132cec87
commit 21676ee761
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, rustPlatform
, fetchCrate
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "rune";
version = "0.12.4";
src = fetchCrate {
pname = "rune-cli";
inherit version;
hash = "sha256-Fw6vCy6EMLzNbhwOUwCCsGSueDxfh7KMjLhhbvTzclc=";
};
cargoHash = "sha256-F1FI7ZVNXIFzxIzimq0KXtGNWw26x1eQyqv+hVYaS1E=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
env = {
RUNE_VERSION = version;
};
meta = with lib; {
description = "An interpreter for the Rune Language, an embeddable dynamic programming language for Rust";
homepage = "https://rune-rs.github.io/";
changelog = "https://github.com/rune-rs/rune/releases/tag/${version}";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
mainProgram = "rune";
};
}

View File

@ -7612,6 +7612,8 @@ with pkgs;
rar2fs = callPackage ../tools/filesystems/rar2fs { };
rune = callPackage ../development/interpreters/rune { };
s9fes = callPackage ../development/interpreters/s9fes { };
s-tar = callPackage ../tools/archivers/s-tar { };