2024-10-18 12:59:07 +02:00
|
|
|
{
|
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "tpi";
|
2024-11-07 09:49:34 +00:00
|
|
|
version = "1.0.7";
|
2024-10-18 12:59:07 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "turing-machines";
|
|
|
|
repo = "tpi";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2024-11-07 09:49:34 +00:00
|
|
|
hash = "sha256-se5+8Zf+RKtvfkmDDxKiUVp5J+bQ9j9RFedDK/pxCgA=";
|
2024-10-18 12:59:07 +02:00
|
|
|
};
|
|
|
|
|
2025-01-23 08:45:31 +01:00
|
|
|
cargoHash = "sha256-neXFAMeo/LG3beNoR9q2gAZhlNrk0T4A5IdqR2cZocs=";
|
2024-10-18 12:59:07 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CLI tool to control your Turing Pi 2 board";
|
|
|
|
homepage = "https://github.com/turing-machines/tpi";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ WoutSwinkels ];
|
|
|
|
mainProgram = "tpi";
|
|
|
|
};
|
|
|
|
}
|