Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
1018 B
Nix
36 lines
1018 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "jsonwatch";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dbohdan";
|
|
repo = "jsonwatch";
|
|
tag = "v${version}";
|
|
hash = "sha256-qhVqAhUAbLb5wHnLNHr6BxffyH1G5B09eOJQoqSzWEk=";
|
|
};
|
|
|
|
cargoHash = "sha256-D29pmt97DYfpYa9EwK+IlggR3zQFGzOy/Ky01UGI3tg=";
|
|
|
|
meta = with lib; {
|
|
description = "Like watch -d but for JSON";
|
|
longDescription = ''
|
|
jsonwatch is a command line utility with which you can track
|
|
changes in JSON data delivered by a shell command or a web
|
|
(HTTP/HTTPS) API. jsonwatch requests data from the designated
|
|
source repeatedly at a set interval and displays the
|
|
differences when the data changes.
|
|
'';
|
|
homepage = "https://github.com/dbohdan/jsonwatch";
|
|
changelog = "https://github.com/dbohdan/jsonwatch/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "jsonwatch";
|
|
};
|
|
}
|