2014-05-18 13:30:34 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libsigrok, libsigrokdecode }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-08 14:04:45 -08:00
|
|
|
name = "sigrok-cli-0.7.1";
|
2014-05-18 13:30:34 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-24 22:04:25 -07:00
|
|
|
url = "https://sigrok.org/download/source/sigrok-cli/${name}.tar.gz";
|
2018-11-08 14:04:45 -08:00
|
|
|
sha256 = "15vpn1psriadcbl6v9swwgws7dva85ld03yv6g1mgm27kx11697m";
|
2014-05-18 13:30:34 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libsigrok libsigrokdecode ];
|
2014-05-18 13:30:34 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command-line frontend for the sigrok signal analysis software suite";
|
2018-03-24 22:04:25 -07:00
|
|
|
homepage = https://sigrok.org/;
|
2014-05-18 13:30:34 -07:00
|
|
|
license = licenses.gpl3Plus;
|
2019-06-05 16:06:09 -07:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-05-18 13:30:34 -07:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|