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 befdab7c8312..9e65d7719fae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7628,6 +7628,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 {};