nixpkgs-suyu/pkgs/development/tools/libsigrokdecode/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

21 lines
661 B
Nix

{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
stdenv.mkDerivation rec {
name = "libsigrokdecode-0.5.0";
src = fetchurl {
url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
sha256 = "1hfigfj1976qk11kfsgj75l20qvyq8c9p2h4mjw23d59rsg5ga2a";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib python3 libsigrok check ];
meta = with stdenv.lib; {
description = "Protocol decoding library for the sigrok signal analysis software suite";
homepage = http://sigrok.org/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}