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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
699 B
Nix
Raw Normal View History

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