1{
2 lib,
3 stdenv,
4 fetchgit,
5 pkg-config,
6 autoreconfHook,
7 glib,
8 python3,
9 check,
10 libxcrypt,
11}:
12
13stdenv.mkDerivation {
14 pname = "libsigrokdecode";
15 version = "0.5.3-unstable-2024-10-01";
16
17 src = fetchgit {
18 url = "git://sigrok.org/libsigrokdecode";
19 rev = "71f451443029322d57376214c330b518efd84f88";
20 hash = "sha256-aW0llB/rziJxLW3OZU1VhxeM3MDWsaMVVgvDKZzdiIY=";
21 };
22
23 nativeBuildInputs = [
24 pkg-config
25 autoreconfHook
26 ];
27 buildInputs = [
28 glib
29 python3
30 libxcrypt
31 ];
32 nativeCheckInputs = [ check ];
33 doCheck = true;
34
35 meta = with lib; {
36 description = "Protocol decoding library for the sigrok signal analysis software suite";
37 homepage = "https://sigrok.org/";
38 license = licenses.gpl3Plus;
39 platforms = platforms.linux ++ platforms.darwin;
40 maintainers = with maintainers; [
41 bjornfor
42 vifino
43 ];
44 };
45}