Merge pull request #250432 from figsoda/rune

This commit is contained in:
figsoda
2023-08-22 10:06:16 -04:00
committed by GitHub
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

@@ -7626,6 +7626,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 { };