Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
974 B · 39 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, ruamel-yaml, xmltodict, pygments, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "jc"; version = "1.23.2"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "kellyjonbrazil"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-nj7HyYjo5jDnA+H5/er/GPgC/bUR0UYBqu5zOSDA4p0="; };
propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];
nativeCheckInputs = [ 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"; license = licenses.mit; maintainers = with maintainers; [ atemu ]; changelog = "https://github.com/kellyjonbrazil/jc/blob/v${version}/CHANGELOG"; };}