2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, pkg-config, autoreconfHook,
|
2018-12-09 19:47:14 +01:00
|
|
|
glib, check, python3, dsview
|
|
|
|
}:
|
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2018-12-09 19:47:14 +01:00
|
|
|
inherit (dsview) version src;
|
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libsigrokdecode4dsl";
|
2018-12-09 19:47:14 +01:00
|
|
|
|
|
|
|
postUnpack = ''
|
|
|
|
export sourceRoot=$sourceRoot/libsigrokdecode4DSL
|
|
|
|
'';
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2018-12-09 19:47:14 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3 glib check
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-12-09 19:47:14 +01:00
|
|
|
description = "A fork of the sigrokdecode library for usage with DSView";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.dreamsourcelab.com/";
|
2018-12-09 19:47:14 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bachp ];
|
|
|
|
};
|
|
|
|
}
|