From b2bae9f0c6bc02d9405ec38e8729011a55cabe70 Mon Sep 17 00:00:00 2001 From: Wout Swinkels Date: Fri, 18 Oct 2024 12:58:20 +0200 Subject: [PATCH 1/2] maintainers: add WoutSwinkels --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5d2d0e1c0e9fd..a170280ba6259 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -23114,6 +23114,12 @@ githubId = 28888242; name = "WORLDofPEACE"; }; + WoutSwinkels = { + name = "Wout Swinkels"; + email = "nixpkgs@woutswinkels.com"; + github = "WoutSwinkels"; + githubId = 113464111; + }; wozeparrot = { email = "wozeparrot@gmail.com"; github = "wozeparrot"; From 56f7815a1f2cc77084746c146dd911b5649b3fed Mon Sep 17 00:00:00 2001 From: Wout Swinkels Date: Fri, 18 Oct 2024 12:59:07 +0200 Subject: [PATCH 2/2] tpi: init at 1.0.6 --- pkgs/by-name/tp/tpi/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/tp/tpi/package.nix diff --git a/pkgs/by-name/tp/tpi/package.nix b/pkgs/by-name/tp/tpi/package.nix new file mode 100644 index 0000000000000..bd9965029ea65 --- /dev/null +++ b/pkgs/by-name/tp/tpi/package.nix @@ -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"; + }; +}