mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-08 14:53:20 +00:00
21 lines
634 B
Nix
21 lines
634 B
Nix
|
{ stdenv, fetchurl, pkgconfig, glib, python3, libsigrok, check }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "libsigrokdecode-0.3.0";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://sigrok.org/download/source/libsigrokdecode/${name}.tar.gz";
|
||
|
sha256 = "13s7ss52dqj7fccjgrkx10zkj41ygxn8ml1l0bs1vgczz4fvnkpf";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ pkgconfig 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 ];
|
||
|
};
|
||
|
}
|