2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig, glib, libsigrok, libsigrokdecode }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "sigrok-cli-0.7.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://sigrok.org/download/source/sigrok-cli/${name}.tar.gz";
|
|
|
|
sha256 = "15vpn1psriadcbl6v9swwgws7dva85ld03yv6g1mgm27kx11697m";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libsigrok libsigrokdecode ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Command-line frontend for the sigrok signal analysis software suite";
|
|
|
|
homepage = "https://sigrok.org/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|