lol

Merge pull request #259677 from cafkafk/cafk-uiua-0.0.17

authored by

Artturi and committed by
GitHub
0e79eaf4 9a4a9190

+13 -3
+13 -3
pkgs/by-name/ui/uiua/package.nix
··· 6 6 , audioSupport ? true 7 7 , darwin 8 8 , alsa-lib 9 + 10 + # passthru.tests.run 11 + , runCommand 12 + , uiua 9 13 }: 10 14 11 15 rustPlatform.buildRustPackage rec { 12 16 pname = "uiua"; 13 - version = "0.0.16"; 17 + version = "0.0.17"; 14 18 15 19 src = fetchFromGitHub { 16 20 owner = "uiua-lang"; 17 21 repo = "uiua"; 18 22 rev = "refs/tags/${version}"; 19 - hash = "sha256-CMuCl4idoO5qIpXdkXBbglsZQBWVT8w9azbn2rRxviA="; 23 + hash = "sha256-vZo3JKvvlL//4P+EqcsDXyamAMnCBARSF/H6OJTayF4="; 20 24 }; 21 25 22 - cargoHash = "sha256-BLP9OGTnksM9NscfhtVWxE0/CqZgkqqlIMgRclCzEzs="; 26 + cargoHash = "sha256-AkBcvFz7mrYUNTokcfoSXwWpw7SupI0+52GL4QXUu24="; 23 27 24 28 nativeBuildInputs = lib.optionals stdenv.isDarwin [ 25 29 rustPlatform.bindgenHook ··· 36 40 ]; 37 41 38 42 buildFeatures = lib.optional audioSupport "audio"; 43 + 44 + passthru.tests.run = runCommand "uiua-test-run" {nativeBuildInputs = [uiua];} '' 45 + uiua init; 46 + diff -U3 --color=auto <(uiua run main.ua) <(echo '"Hello, World!"') 47 + touch $out; 48 + ''; 39 49 40 50 meta = with lib; { 41 51 description = "A stack-oriented array programming language with a focus on simplicity, beauty, and tacit code";