Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / jsonwatch / default.nix
blob7b08572d231961d7b7ed88f7f6d7c4d8c3292cf5
1 { lib
2 , buildPythonPackage
3 , fetchurl
4 , six
5 , isPyPy
6 }:
8 buildPythonPackage {
9   pname = "jsonwatch";
10   version = "0.2.0";
11   disabled = isPyPy; # doesn't find setuptools
13   src = fetchurl {
14     url = "https://github.com/dbohdan/jsonwatch/archive/v0.2.0.tar.gz";
15     sha256 = "04b616ef97b9d8c3887004995420e52b72a4e0480a92dbf60aa6c50317261e06";
16   };
18   propagatedBuildInputs = [ six ];
20   meta = with lib; {
21     description = "Like watch -d but for JSON";
22     longDescription = ''
23       jsonwatch is a command line utility with which you can track
24       changes in JSON data delivered by a shell command or a web
25       (HTTP/HTTPS) API.  jsonwatch requests data from the designated
26       source repeatedly at a set interval and displays the
27       differences when the data changes. It is similar in its
28       behavior to how watch(1) with the -d switch works for
29       plain-text data.
30     '';
31     homepage = "https://github.com/dbohdan/jsonwatch";
32     license = licenses.mit;
33     platforms = platforms.all;
34   };