Commit f5ec4b27 authored by Thane Gill's avatar Thane Gill
Browse files

python3Packages.panzi-json-logic: init at 1.0.1



Apply suggestion from @uninsane

Co-authored-by: default avatarColin <accounts.github@uninsane.org>
parent df096662
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{
  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 −0
Original line number Diff line number Diff line
@@ -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 { };