From 2f3f0bbb315133e777a4b1f2e70bb7d38266eb79 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 13 Dec 2017 12:23:31 +0100 Subject: tv urlwatch: filter simple-evcorr through jq --- tv/2configs/urlwatch.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tv/2configs/urlwatch.nix') diff --git a/tv/2configs/urlwatch.nix b/tv/2configs/urlwatch.nix index b0e12625d..897def8c9 100644 --- a/tv/2configs/urlwatch.nix +++ b/tv/2configs/urlwatch.nix @@ -14,7 +14,10 @@ with import ; http://www.exim.org/ # ref src/nixpkgs/pkgs/tools/admin/sec/default.nix - https://api.github.com/repos/simple-evcorr/sec/tags + { + url = https://api.github.com/repos/simple-evcorr/sec/tags; + filter = "system:${pkgs.jq}/bin/jq ."; + } # ref src/nixpkgs/pkgs/tools/networking/urlwatch/default.nix https://thp.io/2008/urlwatch/ -- cgit v1.2.3 From 27dfb3c618003b54bd3525bf38cef7ac12a8be64 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 13 Dec 2017 15:34:47 +0100 Subject: tv urlwatch: add nix-diff --- tv/2configs/urlwatch.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tv/2configs/urlwatch.nix') diff --git a/tv/2configs/urlwatch.nix b/tv/2configs/urlwatch.nix index 897def8c9..509257c48 100644 --- a/tv/2configs/urlwatch.nix +++ b/tv/2configs/urlwatch.nix @@ -13,6 +13,11 @@ with import ; http://www.exim.org/ + { + url = https://api.github.com/repos/Gabriel439/nix-diff/git/refs/heads/master; + filter = "system:${pkgs.jq}/bin/jq -r .object.sha"; + } + # ref src/nixpkgs/pkgs/tools/admin/sec/default.nix { url = https://api.github.com/repos/simple-evcorr/sec/tags; -- cgit v1.2.3