nixos-config/externals/packages/fujproj/default.nix
2021-06-14 14:22:09 +00:00

25 lines
636 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, libusb1, libftdi1 }:
stdenv.mkDerivation rec {
pname = "fujprog";
version = "4.8";
src = fetchFromGitHub {
owner = "kost";
repo = pname;
rev = "v${version}";
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libftdi1 libusb1 ];
meta = with lib; {
description = "FPGA JTAG programmer for ULX2/3S boards";
homepage = "https://github.com/kost/fujprog";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ artemist ];
};
}