-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2bae9f
commit 56f7815
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
rustPlatform, | ||
fetchFromGitHub, | ||
lib, | ||
}: | ||
rustPlatform.buildRustPackage rec { | ||
pname = "tpi"; | ||
version = "1.0.6"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "turing-machines"; | ||
repo = "tpi"; | ||
rev = "v${version}"; | ||
hash = "sha256-rkqkb3iJL4obHjTkGEUbVPJmUmfT9KKP4yoQ71cbpKs="; | ||
}; | ||
|
||
cargoHash = "sha256-hSWDr1XuD6x96QV2QIdhGPQ00Sg7G5O5bkFNTdUx0ug="; | ||
|
||
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"; | ||
}; | ||
} |