2022-08-14 10:12:19 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-10-08 11:43:44 +02:00
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
2022-08-14 10:12:19 +02:00
|
|
|
, sdcc
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sigrok-firmware-fx2lafw";
|
2023-10-08 11:43:44 +02:00
|
|
|
version = "0.1.7-unstable-2024-02-03";
|
2022-08-14 10:12:19 +02:00
|
|
|
|
2023-10-08 11:43:44 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://sigrok.org/sigrok-firmware-fx2lafw";
|
|
|
|
rev = "0f2d3242ffb5582e5b9a018ed9ae9812d517a56e";
|
|
|
|
hash = "sha256-xveVcwAwtqKGD3/UvnBz5ASvTyg/6jAlTedZElhV2HE=";
|
2022-08-14 10:12:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2023-10-08 11:43:44 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook sdcc ];
|
2022-08-14 10:12:19 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Firmware for FX2 logic analyzers";
|
|
|
|
homepage = "https://sigrok.org/";
|
|
|
|
|
|
|
|
# licensing details explained in:
|
|
|
|
# https://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=blob;f=README;hb=HEAD#l122
|
|
|
|
license = with licenses; [
|
|
|
|
gpl2Plus # overall
|
|
|
|
lgpl21Plus # fx2lib, Hantek 6022BE, Sainsmart DDS120 firmwares
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceProvenance = with sourceTypes; [ fromSource ];
|
|
|
|
platforms = platforms.all;
|
2023-10-08 11:43:44 +02:00
|
|
|
maintainers = with maintainers; [ panicgh vifino ];
|
2022-08-14 10:12:19 +02:00
|
|
|
};
|
|
|
|
}
|