3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/jc/default.nix
Atemu 88c4688c25 jc: 1.10.7 -> 1.10.10
Tests were removed from the PyPi distribution, so we need to fetch from GitHub now.

See https://github.com/kellyjonbrazil/jc/issues/58
2020-05-11 19:08:01 +02:00

31 lines
709 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, ruamel_yaml
, xmltodict
, pygments
, isPy27
}:
buildPythonPackage rec {
pname = "jc";
version = "1.10.10";
disabled = isPy27;
src = fetchFromGitHub {
owner = "kellyjonbrazil";
repo = "jc";
rev = "v${version}";
sha256 = "1rkgk1d1gijic6l6rsvz5mpfhdj8l7qc60aqafj27s4yi5bbqrc7";
};
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
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 ];
};
}