From 72259eaf9b32d111ee4f520585a34580e21e4b68 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 9 Jul 2022 14:05:21 +0800 Subject: [PATCH] jtag-remote-server: init at unstable-2022-06-09 --- .../embedded/jtag-remote-server/default.nix | 24 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/embedded/jtag-remote-server/default.nix diff --git a/pkgs/development/embedded/jtag-remote-server/default.nix b/pkgs/development/embedded/jtag-remote-server/default.nix new file mode 100644 index 000000000000..bcfba506a002 --- /dev/null +++ b/pkgs/development/embedded/jtag-remote-server/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, lib, cmake, pkg-config, libftdi1 }: + +stdenv.mkDerivation rec { + pname = "jtag-remote-server"; + version = "unstable-2022-06-09"; + + src = fetchFromGitHub { + owner = "jiegec"; + repo = pname; + rev = "917d8d298423ba1aa6e75aa92e009b7f27f74a57"; + hash = "sha256-Jy0OyRgn9SYpjP3HYWPvRirfxXk4/vMYvZuI3XpPtBw="; + }; + + nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ libftdi1 ]; + + meta = with lib; { + description = "Remote JTAG server for remote debugging"; + homepage = "https://github.com/jiegec/jtag-remote-server"; + license = licenses.mit; + maintainers = with maintainers; [ nickcao ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cbd8dc18d7ea..03347990f138 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7618,6 +7618,8 @@ with pkgs; jsubfinder = callPackage ../tools/security/jsubfinder { }; + jtag-remote-server = callPackage ../development/embedded/jtag-remote-server { }; + jtc = callPackage ../development/tools/jtc { }; jumpapp = callPackage ../tools/X11/jumpapp {};