lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

uiua-unstable: init at 0.14.0-dev.6

+35 -13
+8 -6
pkgs/by-name/ui/uiua/package.nix
··· 12 12 # passthru.tests.run 13 13 runCommand, 14 14 uiua, 15 + 16 + unstable ? false, 15 17 }: 16 18 19 + let 20 + versionInfo = import (if unstable then ./unstable.nix else ./stable.nix); 21 + in 17 22 rustPlatform.buildRustPackage rec { 18 23 pname = "uiua"; 19 - version = "0.13.0"; 24 + inherit (versionInfo) version cargoHash; 20 25 21 26 src = fetchFromGitHub { 22 27 owner = "uiua-lang"; 23 28 repo = "uiua"; 24 - rev = version; 25 - hash = "sha256-5IqJ/lvozXzc7LRUzxpG04M3Nir+3h+GoL7dqTgC9J8="; 29 + inherit (versionInfo) rev hash; 26 30 }; 27 - 28 - cargoHash = "sha256-0hbE2ZH7daw/VQLe51CxOIborABDF0x00kTyx9NCs9g="; 29 31 30 32 nativeBuildInputs = 31 33 lib.optionals (webcamSupport || stdenv.hostPlatform.isDarwin) [ rustPlatform.bindgenHook ] ··· 35 37 36 38 buildFeatures = lib.optional audioSupport "audio" ++ lib.optional webcamSupport "webcam"; 37 39 38 - passthru.updateScript = ./update.sh; 40 + passthru.updateScript = versionInfo.updateScript; 39 41 passthru.tests.run = runCommand "uiua-test-run" { nativeBuildInputs = [ uiua ]; } '' 40 42 uiua init 41 43 diff -U3 --color=auto <(uiua run main.ua) <(echo '"Hello, World!"')
+7
pkgs/by-name/ui/uiua/stable.nix
··· 1 + rec { 2 + version = "0.13.0"; 3 + rev = version; 4 + hash = "sha256-5IqJ/lvozXzc7LRUzxpG04M3Nir+3h+GoL7dqTgC9J8="; 5 + cargoHash = "sha256-0hbE2ZH7daw/VQLe51CxOIborABDF0x00kTyx9NCs9g="; 6 + updateScript = ./update-stable.sh; 7 + }
+7
pkgs/by-name/ui/uiua/unstable.nix
··· 1 + rec { 2 + version = "0.14.0-dev.6"; 3 + rev = version; 4 + hash = "sha256-YRv4i014xD4d8YN5PuMsa06+7kZgISPBGkKrVLU5ZN0="; 5 + cargoHash = "sha256-GYBHaYGmKcV0Gw1I4IWzfmecHwQtb2ys5bMguqfo8S0="; 6 + updateScript = ./update-unstable.sh; 7 + }
+7
pkgs/by-name/ui/uiua/update-stable.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl jq nix-update common-updater-scripts 3 + 4 + nix-update --override-filename pkgs/by-name/ui/uiua/stable.nix --version-regex '^(\d*\.\d*\.\d*)$' uiua 5 + 6 + EXT_VER=$(curl https://raw.githubusercontent.com/uiua-lang/uiua-vscode/main/package.json | jq -r .version) 7 + update-source-version vscode-extensions.uiua-lang.uiua-vscode $EXT_VER
+4
pkgs/by-name/ui/uiua/update-unstable.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p nix-update 3 + 4 + nix-update --override-filename pkgs/by-name/ui/uiua/unstable.nix uiua-unstable
-7
pkgs/by-name/ui/uiua/update.sh
··· 1 - #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p curl jq nix-update common-updater-scripts 3 - 4 - nix-update uiua 5 - 6 - EXT_VER=$(curl https://raw.githubusercontent.com/uiua-lang/uiua-vscode/main/package.json | jq -r .version) 7 - update-source-version vscode-extensions.uiua-lang.uiua-vscode $EXT_VER
+2
pkgs/top-level/all-packages.nix
··· 7109 7109 babashka-unwrapped = callPackage ../development/interpreters/babashka { }; 7110 7110 babashka = callPackage ../development/interpreters/babashka/wrapped.nix { }; 7111 7111 7112 + uiua-unstable = callPackage ../by-name/ui/uiua/package.nix { unstable = true; }; 7113 + 7112 7114 # BQN interpreters and compilers 7113 7115 7114 7116 mbqn = bqn;