sigrok-cli: 0.7.2 -> 0.7.2-unstable-2023-04-10

This commit is contained in:
Adrian Pistol 2023-10-07 21:31:41 +02:00
parent 54797bb578
commit 1fa018a84f

View file

@ -1,15 +1,16 @@
{ lib, stdenv, fetchurl, pkg-config, glib, libsigrok, libsigrokdecode }:
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, glib, libsigrok, libsigrokdecode }:
stdenv.mkDerivation rec {
pname = "sigrok-cli";
version = "0.7.2";
version = "0.7.2-unstable-2023-04-10";
src = fetchurl {
url = "https://sigrok.org/download/source/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-cdBEPzaJe/Vlcy3sIGgw2+oPJ4m2YBzxBTayhtEUCrg=";
src = fetchgit {
url = "git://sigrok.org/sigrok-cli";
rev = "9d9f7b82008e3b3665bda12a63a3339e9f7aabc3";
hash = "sha256-B2FJxRkfKELrtqxZDv5QTvntpu9zJnTK15CAUYbf+5M=";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ glib libsigrok libsigrokdecode ];
meta = with lib; {
@ -17,6 +18,6 @@ stdenv.mkDerivation rec {
homepage = "https://sigrok.org/";
license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
maintainers = [ maintainers.bjornfor ];
maintainers = with maintainers; [ bjornfor vifino ];
};
}