depot/third_party/nixpkgs/pkgs/development/tools/sigrok-cli/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

21 lines
674 B
Nix

{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
buildInputs = [ glib libsigrok libsigrokdecode ];
meta = with 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 ];
};
}