Files
nixpkgs/pkgs/development/python-modules/panzi-json-logic/default.nix
Thane Gill f5ec4b277f python3Packages.panzi-json-logic: init at 1.0.1
Apply suggestion from @uninsane

Co-authored-by: Colin <accounts.github@uninsane.org>
2025-10-10 14:25:24 -07:00

34 lines
723 B
Nix

{
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 ];
};
}