Merge pull request #241737 from figsoda/jello
This commit is contained in:
commit
00802df471
3 changed files with 50 additions and 0 deletions
46
pkgs/development/python-modules/jello/default.nix
Normal file
46
pkgs/development/python-modules/jello/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue