depot/third_party/nixpkgs/pkgs/development/tools/sigrok-cli/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

21 lines
674 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, libsigrok, libsigrokdecode }:
stdenv.mkDerivation rec {
name = "sigrok-cli-0.7.1";
src = fetchurl {
url = "https://sigrok.org/download/source/sigrok-cli/${name}.tar.gz";
sha256 = "15vpn1psriadcbl6v9swwgws7dva85ld03yv6g1mgm27kx11697m";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libsigrok libsigrokdecode ];
meta = with stdenv.lib; {
description = "Command-line frontend for the sigrok signal analysis software suite";
homepage = "https://sigrok.org/";
license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
};
}