about summary refs log tree commit diff
path: root/pkgs/development/embedded/jtag-remote-server/default.nix
blob: 4a2c9c3df3d2b2d4c8860c73ee0c4a62198da3f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub, lib, cmake, pkg-config, libftdi1 }:

stdenv.mkDerivation rec {
  pname = "jtag-remote-server";
  version = "1.2";

  src = fetchFromGitHub {
    owner = "jiegec";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-qtgO0BO2hvWi/E2RzGTTuQynKbh7/OLeoLcm60dqro8=";
  };

  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;
  };
}