nixpkgs/pkgs/applications/science/electronics/dsview/libsigrokdecode4dsl.nix

28 lines
608 B
Nix
Raw Normal View History

{ 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;
pname = "libsigrokdecode4dsl";
2018-12-09 19:47:14 +01:00
postUnpack = ''
export sourceRoot=$sourceRoot/libsigrokdecode4DSL
'';
nativeBuildInputs = [ pkg-config autoreconfHook ];
2018-12-09 19:47:14 +01:00
buildInputs = [
python3 glib check
];
meta = with lib; {
2018-12-09 19:47:14 +01:00
description = "A fork of the sigrokdecode library for usage with DSView";
homepage = "https://www.dreamsourcelab.com/";
2018-12-09 19:47:14 +01:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bachp ];
};
}