nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 26 lines 620 B view raw
1{ 2 rustPlatform, 3 fetchFromGitHub, 4 lib, 5}: 6rustPlatform.buildRustPackage rec { 7 pname = "tpi"; 8 version = "1.0.7"; 9 10 src = fetchFromGitHub { 11 owner = "turing-machines"; 12 repo = "tpi"; 13 rev = "v${version}"; 14 hash = "sha256-se5+8Zf+RKtvfkmDDxKiUVp5J+bQ9j9RFedDK/pxCgA="; 15 }; 16 17 cargoHash = "sha256-neXFAMeo/LG3beNoR9q2gAZhlNrk0T4A5IdqR2cZocs="; 18 19 meta = { 20 description = "CLI tool to control your Turing Pi 2 board"; 21 homepage = "https://github.com/turing-machines/tpi"; 22 license = lib.licenses.asl20; 23 maintainers = with lib.maintainers; [ WoutSwinkels ]; 24 mainProgram = "tpi"; 25 }; 26}