jsonwatch: 0.6.0 -> 0.7.0 (#358872)

This commit is contained in:
Fabian Affolter 2024-11-27 07:55:47 +01:00 committed by GitHub
commit 6a05105b89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 19 deletions

View File

@ -1,26 +1,21 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "jsonwatch";
version = "0.6.0";
version = "0.7.0";
src = fetchFromGitHub {
owner = "dbohdan";
repo = pname;
rev = "v${version}";
sha256 = "sha256-TGW04P8t0mAXza7I7qp6QRXA/MDE3m1dlRC7bMf2dSk=";
repo = "jsonwatch";
rev = "refs/tags/v${version}";
hash = "sha256-WzQ793dLb8OujNpEq7UXIgJM+lz0WZEVlbKmwM58klU=";
};
cargoHash = "sha256-Gjb7v3kz11iOml3Ykxhy43KNxzaprgMbb5DpPNChLTc=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
Security
];
cargoHash = "sha256-76Vvs3OaxYDZE39d9h3T8HhYQfHhY5D17PgQxcPrMyc=";
meta = with lib; {
description = "Like watch -d but for JSON";
@ -34,8 +29,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/dbohdan/jsonwatch";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
mainProgram = "jsonwatch";
};
}

View File

@ -3958,9 +3958,7 @@ with pkgs;
json-schema-for-humans = with python3Packages; toPythonApplication json-schema-for-humans;
jsonwatch = callPackage ../tools/misc/jsonwatch {
inherit (darwin.apple_sdk.frameworks) Security;
};
jsonwatch = callPackage ../tools/misc/jsonwatch { };
jupyter = callPackage ../applications/editors/jupyter { };