diff options
author | Lein Matsumaru <applePrincess@applePrincess.io> | 2021-07-23 03:29:22 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-24 19:34:49 -0700 |
commit | f61fe3ec6b3741d95e968ffb2394419bd8ddc598 (patch) | |
tree | 2e0d1a8ab847b53ab0779150529c5f21c83cf904 /pkgs/development/python-modules/jc | |
parent | 0f34985134fee2e36ecd78f32317ab27b52f0dc5 (diff) |
python3Packages.jc: 1.14.4 -> 1.16.0
Diffstat (limited to 'pkgs/development/python-modules/jc')
-rw-r--r-- | pkgs/development/python-modules/jc/default.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/jc/default.nix b/pkgs/development/python-modules/jc/default.nix index 10f09d912e78f..b09137d361b7e 100644 --- a/pkgs/development/python-modules/jc/default.nix +++ b/pkgs/development/python-modules/jc/default.nix @@ -4,26 +4,31 @@ , ruamel_yaml , xmltodict , pygments -, isPy27 , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "jc"; - version = "1.15.4"; - disabled = isPy27; + version = "1.16.0"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "kellyjonbrazil"; - repo = "jc"; + repo = pname; rev = "v${version}"; - sha256 = "1y3807i9rlif78qp1vq9n5hpzmc60i9h5ycw70gvf8mgzxxrl8jx"; + sha256 = "sha256-6kh9FzMW5davxN8jNFFUh+PGSNAW7w8aeoJP25mGY10="; }; propagatedBuildInputs = [ ruamel_yaml xmltodict pygments ]; checkInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jc" ]; + + # tests require timezone to set America/Los_Angeles + doCheck = false; + meta = with lib; { description = "This tool serializes the output of popular command line tools and filetypes to structured JSON output"; homepage = "https://github.com/kellyjonbrazil/jc"; |