![stuebinm](/assets/img/avatar_default.png)
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
26 lines
681 B
Nix
26 lines
681 B
Nix
{ 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";
|
|
mainProgram = "jtag-remote-server";
|
|
homepage = "https://github.com/jiegec/jtag-remote-server";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|