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