1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/development/tools/libsigrokdecode/default.nix
2020-04-10 17:54:53 +01:00

22 lines
685 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
stdenv.mkDerivation rec {
name = "libsigrokdecode-0.5.3";
src = fetchurl {
url = "https://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
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;
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
};
}