Something went wrong. Try again.
lol
Something went wrong. Try again.
926 B · 42 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, installShellFiles, pygments, unittestCheckHook,}:
buildPythonPackage rec { pname = "jello"; version = "1.6.1"; format = "setuptools";
src = fetchFromGitHub { owner = "kellyjonbrazil"; repo = "jello"; tag = "v${version}"; hash = "sha256-RAQ04R1zDL9hk1q19GSFvdkxse5rJZXpboAondOoHEc="; };
nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [ pygments ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "jello" ];
postInstall = '' installManPage man/jello.1 '';
meta = { description = "CLI tool to filter JSON and JSON Lines data with Python syntax"; mainProgram = "jello"; homepage = "https://github.com/kellyjonbrazil/jello"; changelog = "https://github.com/kellyjonbrazil/jello/blob/${src.tag}/CHANGELOG"; license = lib.licenses.mit; maintainers = [ ]; };}