depot/third_party/nixpkgs/pkgs/development/tools/misc/fujprog/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

37 lines
748 B
Nix

{ stdenv
, fetchFromGitHub
, cmake
, pkgconfig
, libftdi1
, libusb-compat-0_1
}:
stdenv.mkDerivation rec {
pname = "fujprog";
version = "4.6";
src = fetchFromGitHub {
owner = "kost";
repo = "${pname}";
rev = "v${version}";
sha256 = "04l5rrfrp3pflwz5ncwvb4ibbsqib2259m23bzfi8m80aj216shd";
};
nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [
libftdi1
libusb-compat-0_1
];
meta = with stdenv.lib; {
description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards.";
homepage = "https://github.com/kost/fujprog";
license = licenses.bsd2;
maintainers = with maintainers; [ trepetti ];
platforms = platforms.linux ++ platforms.darwin;
};
}