inko: 0.15.0 -> 0.18.1 (#393949)

This commit is contained in:
tomberek
2025-03-29 23:44:14 -04:00
committed by GitHub
+13 -9
View File
@@ -2,7 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
llvm_16,
llvm_17,
libffi,
libz,
libxml2,
@@ -10,21 +10,22 @@
stdenv,
makeWrapper,
callPackage,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "inko";
version = "0.15.0";
version = "0.18.1";
src = fetchFromGitHub {
owner = "inko-lang";
repo = "inko";
rev = "v${version}";
hash = "sha256-Iojv8pTyILYpLFnoTlgUGmlfWWH0DgsGBRxzd3oRNwA=";
tag = "v${version}";
hash = "sha256-jVfAfR02R2RaTtzFSBoLuq/wdPaaI/eochrZaRVdmHY=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-BTfg3uPLvbeKPgb7qF9WFYLzUCZ6AVRk9I0T2hxuVqU=";
cargoHash = "sha256-IOMhwcZHB5jVYDM65zifxCjVHWl1EBbxNA3WVmarWcs=";
buildInputs = [
libffi
@@ -35,7 +36,7 @@ rustPlatform.buildRustPackage rec {
];
nativeBuildInputs = [
llvm_16
llvm_17
makeWrapper
];
@@ -55,15 +56,18 @@ rustPlatform.buildRustPackage rec {
cp -r std/src/* $out/lib/
'';
passthru.tests = {
simple = callPackage ./test.nix { };
passthru = {
updateScript = nix-update-script { };
tests = {
simple = callPackage ./test.nix { };
};
};
meta = {
description = "Language for building concurrent software with confidence";
homepage = "https://inko-lang.org/";
license = lib.licenses.mpl20;
maintainers = [ lib.maintainers.feathecutie ];
maintainers = [ lib.maintainers.feathecutie ] ++ lib.teams.ngi.members;
platforms = lib.platforms.unix;
mainProgram = "inko";
};