3
0
Fork 0
forked from mirrors/nixpkgs

add python package 'jsonwatch'

This commit is contained in:
Danyil Bohdan 2014-08-31 16:43:53 +03:00 committed by Domen Kožar
parent 94a131b95a
commit 8c0b08d705

View file

@ -2263,6 +2263,34 @@ rec {
};
};
jsonwatch = buildPythonPackage rec {
name = "jsonwatch-0.2.0";
disabled = isPyPy;
src = fetchurl {
url = "https://github.com/dbohdan/jsonwatch/archive/v0.2.0.tar.gz";
sha256 = "04b616ef97b9d8c3887004995420e52b72a4e0480a92dbf60aa6c50317261e06";
};
propagatedBuildInputs = [ six ];
meta = {
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. It is
similar in its behavior to how watch(1) with the -d switch works
for plain-text data.
'';
homepage = "https://github.com/dbohdan/jsonwatch";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
};
};
logilab_astng = buildPythonPackage rec {
name = "logilab-astng-0.24.3";
@ -2752,7 +2780,7 @@ rec {
random2 = pythonPackages.buildPythonPackage rec {
name = "random2-1.0.1";
doCheck = !isPyPy;
src = fetchurl {