blob: 61aeea9967d328a7aa6ed553bb8bca0917a897b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ 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;
};
}
|