2020-02-07 13:03:39 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2020-05-04 09:55:16 +02:00
|
|
|
, fetchPypi
|
|
|
|
, ruamel_yaml
|
2020-02-07 13:03:39 +01:00
|
|
|
, xmltodict
|
2020-05-04 10:01:00 +02:00
|
|
|
, pygments
|
2020-02-07 13:03:39 +01:00
|
|
|
, isPy27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jc";
|
2020-05-04 10:01:00 +02:00
|
|
|
version = "1.10.7";
|
2020-02-07 13:03:39 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-04 10:01:00 +02:00
|
|
|
sha256 = "198vsnh6j0nv9d7msnvw6qr1bzf0nffjsz7clm11bs7fh3ri3qxp";
|
2020-02-07 13:03:39 +01:00
|
|
|
};
|
|
|
|
|
2020-05-04 10:01:00 +02:00
|
|
|
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
|
2020-02-07 13:03:39 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|