mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
300e495101
Release announcement, 2016-01-30: https://www.sigrok.org/blog/major-sigrok-releases-libsigrok-libsigrokdecode-sigrok-cli-pulseview I first tried updating the projects in separate commits. But later I found cyclic dependencies, that would break git bisect, so I ended up squashing the commits: * libsigrok: 0.3.0 -> 0.4.0 Enable building libsigrokcxx.so, the C++ bindings for libsigrok, by adding doxygen, glibmm and python as build deps. This is needed for Pulseview >= 0.3.0. Also update the firmware (sigrok-firmware-fx2lafw) while at it. * libsigrokdecode: 0.3.0 -> 0.4.0 * sigrok-cli: 0.5.0 -> 0.6.0 * pulseview: 0.2.0 -> 0.3.0 New dependency: glibmm (due to libsigrokcxx.pc from libsigrok). Note that collectd is incompatible with the new libsigrok release, so I let it use the old one (0.3.0).
21 lines
634 B
Nix
21 lines
634 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libsigrokdecode-0.4.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
|
sha256 = "0drmxjc2xavccjl2i6vcjipijrn7459nv8cpmm788pi4fcdrszpx";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig glib python3 libsigrok check ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Protocol decoding library for the sigrok signal analysis software suite";
|
|
homepage = http://sigrok.org/;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
}
|