2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glib, libsigrok, libsigrokdecode }:
|
2014-05-18 21:30:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-06-20 15:15:21 +01:00
|
|
|
pname = "sigrok-cli";
|
|
|
|
version = "0.7.1";
|
2014-05-18 21:30:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-06-20 15:15:21 +01:00
|
|
|
url = "https://sigrok.org/download/source/${pname}/${pname}-${version}.tar.gz";
|
2018-11-08 22:04:45 +00:00
|
|
|
sha256 = "15vpn1psriadcbl6v9swwgws7dva85ld03yv6g1mgm27kx11697m";
|
2014-05-18 21:30:34 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ glib libsigrok libsigrokdecode ];
|
2014-05-18 21:30:34 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-05-18 21:30:34 +01:00
|
|
|
description = "Command-line frontend for the sigrok signal analysis software suite";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sigrok.org/";
|
2014-05-18 21:30:34 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2019-06-06 00:06:09 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2014-05-18 21:30:34 +01:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|