commit
9219adb40c
|
@ -5,22 +5,25 @@
|
||||||
, xmltodict
|
, xmltodict
|
||||||
, pygments
|
, pygments
|
||||||
, isPy27
|
, isPy27
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jc";
|
pname = "jc";
|
||||||
version = "1.14.0";
|
version = "1.14.1";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kellyjonbrazil";
|
owner = "kellyjonbrazil";
|
||||||
repo = "jc";
|
repo = "jc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0js3mqp6xxg45qsz8wnyyqf4m0wj1kz67bkmvirhdy7s01zhd5hq";
|
sha256 = "1vzzz7dlg6apxhcl0qkfdpp2v9d0q6jyafpfmklkcbjs31zvwcsw";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
|
propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ];
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output";
|
description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output";
|
||||||
homepage = "https://github.com/kellyjonbrazil/jc";
|
homepage = "https://github.com/kellyjonbrazil/jc";
|
||||||
|
|
Loading…
Reference in New Issue