luwen: init at 0.7.13 (#422620)

This commit is contained in:
Tristan Ross
2025-09-21 19:37:29 +00:00
committed by GitHub
2 changed files with 2245 additions and 0 deletions

2210
pkgs/by-name/lu/luwen/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchFromGitHub,
protobuf,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "luwen";
version = "0.7.13";
src = fetchFromGitHub {
owner = "tenstorrent";
repo = "luwen";
tag = "v${finalAttrs.version}";
hash = "sha256-2l+rcWP9Ms0bvvSvZIA4DjH6bIloQGxzRTE1ShP6hEE=";
};
postUnpack = ''
cp ${./Cargo.lock} $sourceRoot/Cargo.lock
'';
nativeBuildInputs = [
protobuf
];
# Vendor a lockfile until upstream manages to consistently have checksums in their's.
cargoLock.lockFile = ./Cargo.lock;
meta = {
description = "Tenstorrent system interface tools";
homepage = "https://github.com/tenstorrent/luwen";
maintainers = with lib.maintainers; [ RossComputerGuy ];
license = with lib.licenses; [ asl20 ];
};
})