nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchgit,
5 autoreconfHook,
6 pkg-config,
7 glib,
8 libsigrok,
9 libsigrokdecode,
10}:
11
12stdenv.mkDerivation {
13 pname = "sigrok-cli";
14 version = "0.7.2-unstable-2023-04-10";
15
16 src = fetchgit {
17 url = "git://sigrok.org/sigrok-cli";
18 rev = "9d9f7b82008e3b3665bda12a63a3339e9f7aabc3";
19 hash = "sha256-B2FJxRkfKELrtqxZDv5QTvntpu9zJnTK15CAUYbf+5M=";
20 };
21
22 nativeBuildInputs = [
23 autoreconfHook
24 pkg-config
25 ];
26 buildInputs = [
27 glib
28 libsigrok
29 libsigrokdecode
30 ];
31
32 meta = {
33 description = "Command-line frontend for the sigrok signal analysis software suite";
34 mainProgram = "sigrok-cli";
35 homepage = "https://sigrok.org/";
36 license = lib.licenses.gpl3Plus;
37 platforms = lib.platforms.linux ++ lib.platforms.darwin;
38 maintainers = with lib.maintainers; [
39 bjornfor
40 vifino
41 ];
42 };
43}