nixpkgs-suyu/pkgs/development/tools/libsigrokdecode/default.nix

22 lines
685 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
stdenv.mkDerivation rec {
2019-12-23 21:30:04 +01:00
name = "libsigrokdecode-0.5.3";
src = fetchurl {
url = "https://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
2019-12-23 21:30:04 +01:00
sha256 = "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib python3 libsigrok check ];
meta = with stdenv.lib; {
description = "Protocol decoding library for the sigrok signal analysis software suite";
homepage = "https://sigrok.org/";
license = licenses.gpl3Plus;
2019-06-06 01:05:37 +02:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
};
}