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

22 lines
650 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, libsigrok, libsigrokdecode }:
stdenv.mkDerivation rec {
2017-08-30 20:04:31 +02:00
name = "sigrok-cli-0.7.0";
src = fetchurl {
url = "http://sigrok.org/download/source/sigrok-cli/${name}.tar.gz";
2017-08-30 20:04:31 +02:00
sha256 = "072ylscp0ppgii1k5j07hhv7dfmni4vyhxnsvxmgqgfyq9ldjsan";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libsigrok libsigrokdecode ];
meta = with stdenv.lib; {
description = "Command-line frontend for the sigrok signal analysis software suite";
homepage = http://sigrok.org/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}