Files
nixpkgs/pkgs/by-name/fu/fujprog/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
841 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
libftdi1,
libusb-compat-0_1,
}:
stdenv.mkDerivation rec {
pname = "fujprog";
version = "4.8";
src = fetchFromGitHub {
owner = "kost";
repo = "fujprog";
rev = "v${version}";
sha256 = "08kzkzd5a1wfd1aycywdynxh3qy6n7z9i8lihkahmb4xac3chmz5";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
libftdi1
libusb-compat-0_1
];
meta = {
description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards";
mainProgram = "fujprog";
homepage = "https://github.com/kost/fujprog";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ trepetti ];
platforms = lib.platforms.all;
changelog = "https://github.com/kost/fujprog/releases/tag/v${version}";
};
}