python3Packages.panzi-json-logic: init at 1.0.1

Apply suggestion from @uninsane

Co-authored-by: Colin <accounts.github@uninsane.org>
This commit is contained in:
Thane Gill
2025-10-10 14:25:24 -07:00
co-authored by Colin
parent df096662db
commit f5ec4b277f
2 changed files with 35 additions and 0 deletions
@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
unittestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "panzi-json-logic";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "panzi";
repo = "panzi-json-logic";
tag = "v${version}";
hash = "sha256-P34+7SckMtiCTZbdKsjztNam+/HWtcVQEnGPMoPBw3g=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "json_logic" ];
meta = {
description = "Pure Python 3 JsonLogic and CertLogic implementation.";
homepage = "https://github.com/panzi/panzi-json-logic";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ thanegill ];
};
}
+2
View File
@@ -11407,6 +11407,8 @@ self: super: with self; {
panphon = callPackage ../development/python-modules/panphon { };
panzi-json-logic = callPackage ../development/python-modules/panzi-json-logic { };
paperbush = callPackage ../development/python-modules/paperbush { };
papermill = callPackage ../development/python-modules/papermill { };