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