Merge pull request #241737 from figsoda/jello

This commit is contained in:
figsoda 2023-07-06 17:30:27 -04:00 committed by GitHub
commit 00802df471
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, installShellFiles
, pygments
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "jello";
version = "1.6.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "kellyjonbrazil";
repo = "jello";
rev = "v${version}";
hash = "sha256-EN09Kcnw4HNT2roCoQyZkoHEfkM9qxqtneZPuBg46z4=";
};
nativeBuildInputs = [
installShellFiles
];
propagatedBuildInputs = [
pygments
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [ "jello" ];
postInstall = ''
installManPage man/jello.1
'';
meta = with lib; {
description = "CLI tool to filter JSON and JSON Lines data with Python syntax";
homepage = "https://github.com/kellyjonbrazil/jello";
changelog = "https://github.com/kellyjonbrazil/jello/blob/${src.rev}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View file

@ -9109,6 +9109,8 @@ with pkgs;
jekyll = callPackage ../applications/misc/jekyll { };
jello = with python3Packages; toPythonApplication jello;
jen = callPackage ../tools/text/jen { };
jet = callPackage ../development/tools/jet { };

View file

@ -5239,6 +5239,8 @@ self: super: with self; {
jeepney = callPackage ../development/python-modules/jeepney { };
jello = callPackage ../development/python-modules/jello { };
jellyfin-apiclient-python = callPackage ../development/python-modules/jellyfin-apiclient-python { };
jellyfish = callPackage ../development/python-modules/jellyfish { };