2020-02-07 13:03:39 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi,
|
|
|
|
ruamel_yaml
|
|
|
|
, ifconfig-parser
|
|
|
|
, xmltodict
|
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jc";
|
2020-03-31 09:22:38 +02:00
|
|
|
version = "1.9.3";
|
2020-02-07 13:03:39 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-31 09:22:38 +02:00
|
|
|
sha256 = "1hg6h3ag4pbilpmqylnj7dflz7avk3w8ngmk6psfqrizizwx0hnj";
|
2020-02-07 13:03:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ruamel_yaml ifconfig-parser xmltodict ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output.";
|
|
|
|
homepage = "https://github.com/kellyjonbrazil/jc";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ atemu ];
|
|
|
|
};
|
|
|
|
}
|