1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/sigrok-cli/default.nix
Ryan Mulligan b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00

22 lines
652 B
Nix

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