3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jc/default.nix

31 lines
708 B
Nix
Raw Normal View History

2020-02-07 12:03:39 +00:00
{ stdenv
, buildPythonPackage
, fetchFromGitHub
2020-05-04 08:55:16 +01:00
, ruamel_yaml
2020-02-07 12:03:39 +00:00
, xmltodict
, pygments
2020-02-07 12:03:39 +00:00
, isPy27
}:
buildPythonPackage rec {
pname = "jc";
2020-06-07 23:03:35 +01:00
version = "1.11.2";
2020-02-07 12:03:39 +00:00
disabled = isPy27;
src = fetchFromGitHub {
owner = "kellyjonbrazil";
repo = "jc";
rev = "v${version}";
2020-06-07 23:03:35 +01:00
sha256 = "1gsvjgypjgw5a0k85kdvbbf7q6wspmv6z76acrgnidhav8sdn4dm";
2020-02-07 12:03:39 +00:00
};
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
2020-02-07 12:03:39 +00: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 ];
};
}