jc: 1.9.3 -> 1.10.7

It now needs pygments for color output and ifconfig-parser was vendorised
This commit is contained in:
Atemu 2020-05-04 10:01:00 +02:00
parent 8de2754ad2
commit 583463ce53

View file

@ -2,22 +2,22 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, ruamel_yaml , ruamel_yaml
, ifconfig-parser
, xmltodict , xmltodict
, pygments
, isPy27 , isPy27
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jc"; pname = "jc";
version = "1.9.3"; version = "1.10.7";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1hg6h3ag4pbilpmqylnj7dflz7avk3w8ngmk6psfqrizizwx0hnj"; sha256 = "198vsnh6j0nv9d7msnvw6qr1bzf0nffjsz7clm11bs7fh3ri3qxp";
}; };
propagatedBuildInputs = [ ruamel_yaml ifconfig-parser xmltodict ]; propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output."; description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output.";