2014-05-18 21:30:34 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, libsigrok, libsigrokdecode }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-30 19:04:31 +01:00
|
|
|
name = "sigrok-cli-0.7.0";
|
2014-05-18 21:30:34 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://sigrok.org/download/source/sigrok-cli/${name}.tar.gz";
|
2017-08-30 19:04:31 +01:00
|
|
|
sha256 = "072ylscp0ppgii1k5j07hhv7dfmni4vyhxnsvxmgqgfyq9ldjsan";
|
2014-05-18 21:30:34 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libsigrok libsigrokdecode ];
|
2014-05-18 21:30:34 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command-line frontend for the sigrok signal analysis software suite";
|
|
|
|
homepage = http://sigrok.org/;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|