summary refs log tree commit diff
path: root/pkgs/development/python-modules/jc/default.nix
blob: 9ade29bece1b3c0989cd83b25d0427586383fb81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv
, buildPythonPackage
, fetchPypi,
  ruamel_yaml
, ifconfig-parser
, xmltodict
, isPy27
}:

buildPythonPackage rec {
  pname = "jc";
  version = "1.9.3";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1hg6h3ag4pbilpmqylnj7dflz7avk3w8ngmk6psfqrizizwx0hnj";
  };

  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 ];
  };
}