3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/sigrok-cli/default.nix

23 lines
700 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib, libsigrok, libsigrokdecode }:
stdenv.mkDerivation rec {
2021-06-20 15:15:21 +01:00
pname = "sigrok-cli";
version = "0.7.1";
src = fetchurl {
2021-06-20 15:15:21 +01:00
url = "https://sigrok.org/download/source/${pname}/${pname}-${version}.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;
2019-06-06 00:06:09 +01:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
};
}