nixos-config/externals/packages/fujproj/default.nix

25 lines
638 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, libusb1, libftdi1 }:
2020-11-01 20:27:07 +00:00
stdenv.mkDerivation rec {
pname = "fujprog";
version = "4.8";
src = fetchFromGitHub {
owner = "kost";
repo = pname;
rev = "v${version}";
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
};
nativeBuildInputs = [ cmake pkg-config ];
2020-11-01 20:27:07 +00:00
buildInputs = [ libftdi1 libusb1 ];
2021-06-14 14:21:44 +00:00
meta = with lib; {
2020-11-01 20:27:07 +00:00
description = "FPGA JTAG programmer for ULX2/3S boards";
homepage = "https://github.com/kost/fujprog";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ artemist ];
};
}