base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / tp / tpi / package.nix
blob7ccd26716664f0a0df16e64d820f0637baff0915
2   rustPlatform,
3   fetchFromGitHub,
4   lib,
5 }:
6 rustPlatform.buildRustPackage rec {
7   pname = "tpi";
8   version = "1.0.7";
10   src = fetchFromGitHub {
11     owner = "turing-machines";
12     repo = "tpi";
13     rev = "v${version}";
14     hash = "sha256-se5+8Zf+RKtvfkmDDxKiUVp5J+bQ9j9RFedDK/pxCgA=";
15   };
17   cargoHash = "sha256-5TfLAMPl3I9gkd3SSjPlBeBJzANK9u5XjY0ReHVSTJw=";
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   };