nixpkgs/pkgs/development/tools/sigrok-cli/default.nix

23 lines
699 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib, libsigrok, libsigrokdecode }:
stdenv.mkDerivation rec {
2021-06-20 16:15:21 +02:00
pname = "sigrok-cli";
2021-08-28 02:03:49 +02:00
version = "0.7.2";
src = fetchurl {
2021-06-20 16:15:21 +02:00
url = "https://sigrok.org/download/source/${pname}/${pname}-${version}.tar.gz";
2021-08-28 02:03:49 +02:00
sha256 = "sha256-cdBEPzaJe/Vlcy3sIGgw2+oPJ4m2YBzxBTayhtEUCrg=";
};
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 01:06:09 +02:00
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
};
}