@@ -10,10 +10,20 @@ stdenv.mkDerivation rec {
1010 sha256 = "0l3h7zvn3w4c1b9dgvl3hirc4aj1csfkgbk87jkpl7bgl03nk4j3";
1111 };
1212
13+ firmware = fetchurl {
14+ url = "http://sigrok.org/download/binary/sigrok-firmware-fx2lafw/sigrok-firmware-fx2lafw-bin-0.1.2.tar.gz";
15+ sha256 = "0w0w6l015d16181mx8mgyjha4bv3ba7x36p86k9n1x52809433gj";
16+ };
17+
1318 buildInputs = [ pkgconfig libzip glib libusb1 libftdi check libserialport
1419 librevisa
1520 ];
1621
22+ postInstall = ''
23+ mkdir -p "$out/share/sigrok-firmware/"
24+ tar --strip-components=1 -xvf "${firmware}" -C "$out/share/sigrok-firmware/"
25+ '';
26+
1727 meta = with stdenv.lib; {
1828 description = "Core library of the sigrok signal analysis software suite";
1929 homepage = http://sigrok.org/;