2024-02-29 20:09:43 +00:00
|
|
|
{ lib, stdenv, fetchgit, pkg-config, autoreconfHook, glib, python3, check, libxcrypt }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-21 07:28:18 +00:00
|
|
|
pname = "libsigrokdecode";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.5.3-unstable-2023-10-23";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://sigrok.org/libsigrokdecode";
|
|
|
|
rev = "0c35c5c5845d05e5f624c99d58af992d2f004446";
|
|
|
|
hash = "sha256-1kQB7uk2c+6Uriw+1o6brThDcBLoCdPV0MVWAha7ohk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2022-10-30 15:09:59 +00:00
|
|
|
buildInputs = [ glib python3 libxcrypt ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ check ];
|
2021-08-05 21:33:18 +00:00
|
|
|
doCheck = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Protocol decoding library for the sigrok signal analysis software suite";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|