python310Packages.jello: init at 1.6.0

https://github.com/kellyjonbrazil/jello
This commit is contained in:
figsoda
2023-07-05 14:30:24 -04:00
parent 7f76939485
commit 3da043ce9d
2 changed files with 48 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -5233,6 +5233,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 { };