uiua: 0.0.22 -> 0.0.23

This commit is contained in:
TomaSajt 2023-10-26 00:02:02 +02:00
parent 586212ee77
commit 3904aea328
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -14,16 +14,16 @@
rustPlatform.buildRustPackage rec {
pname = "uiua";
version = "0.0.22";
version = "0.0.23";
src = fetchFromGitHub {
owner = "uiua-lang";
repo = "uiua";
rev = "refs/tags/${version}";
hash = "sha256-x1xZH+AVJqnvwxgBgcVB5LvDb54C+HnPBCTIqZ8Dv7E=";
rev = version;
hash = "sha256-+Q/dn0pGZ3R+UlAt9stQZU1n+WITujJzTxY5dpXc+Bc=";
};
cargoHash = "sha256-gY+KeE2ATsCydpxcRoLtRDeyEvOGv7+I0SskLq8b9rw=";
cargoHash = "sha256-R4jQ9Or9vh3dtqJH7nPvYM4o1h277sFUf+nC1VQl1Uk=";
nativeBuildInputs = lib.optionals stdenv.isDarwin [
rustPlatform.bindgenHook
@ -41,13 +41,14 @@ rustPlatform.buildRustPackage rec {
buildFeatures = lib.optional audioSupport "audio";
passthru.tests.run = runCommand "uiua-test-run" {nativeBuildInputs = [uiua];} ''
passthru.tests.run = runCommand "uiua-test-run" { nativeBuildInputs = [ uiua ]; } ''
uiua init;
diff -U3 --color=auto <(uiua run main.ua) <(echo '"Hello, World!"')
touch $out;
'';
meta = with lib; {
meta = {
changelog = "https://github.com/uiua-lang/uiua/releases/tag/${src.rev}";
description = "A stack-oriented array programming language with a focus on simplicity, beauty, and tacit code";
longDescription = ''
Uiua combines the stack-oriented and array-oriented paradigms in a single
@ -55,8 +56,8 @@ rustPlatform.buildRustPackage rec {
high information density and little syntactic noise.
'';
homepage = "https://www.uiua.org/";
license = licenses.mit;
license = lib.licenses.mit;
mainProgram = "uiua";
maintainers = with maintainers; [ cafkafk tomasajt ];
maintainers = with lib.maintainers; [ cafkafk tomasajt ];
};
}