2024-02-29 20:09:43 +00:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, glib, libsigrok, libsigrokdecode }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "sigrok-cli";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.7.2-unstable-2023-04-10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://sigrok.org/sigrok-cli";
|
|
|
|
rev = "9d9f7b82008e3b3665bda12a63a3339e9f7aabc3";
|
|
|
|
hash = "sha256-B2FJxRkfKELrtqxZDv5QTvntpu9zJnTK15CAUYbf+5M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "sigrok-cli";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sigrok.org/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2024-02-29 20:09:43 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor vifino ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|