depot/third_party/nixpkgs/pkgs/development/tools/libsigrokdecode/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

24 lines
724 B
Nix

{ lib, stdenv, fetchurl, pkg-config, glib, python3, check }:
stdenv.mkDerivation rec {
pname = "libsigrokdecode";
version = "0.5.3";
src = fetchurl {
url = "https://sigrok.org/download/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "1h1zi1kpsgf6j2z8j8hjpv1q7n49i3fhqjn8i178rka3cym18265";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib python3 ];
checkInputs = [ check ];
doCheck = true;
meta = with 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 ];
};
}