mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
88c4688c25
Tests were removed from the PyPi distribution, so we need to fetch from GitHub now. See https://github.com/kellyjonbrazil/jc/issues/58
31 lines
709 B
Nix
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 ];
|
|
};
|
|
}
|