Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies cons, etuples, logical-unification, multipledispatch, toolz, typing-extensions,
# tests py, pytest-html, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "minikanren"; version = "1.0.5"; pyproject = true; __structuredAttrs = true;
src = fetchFromGitHub { owner = "pythological"; repo = "kanren"; tag = "v${finalAttrs.version}"; hash = "sha256-lCQ0mKT99zK5A74uoo/9bP+eFdm3MC43Fh8+P2krXrs="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ cons etuples logical-unification multipledispatch toolz typing-extensions ];
nativeCheckInputs = [ py pytest-html pytestCheckHook ];
pytestFlags = [ "--html=testing-report.html" "--self-contained-html" ];
pythonImportsCheck = [ "kanren" ];
meta = { description = "Relational programming in Python"; homepage = "https://github.com/pythological/kanren"; changelog = "https://github.com/pythological/kanren/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ Etjean ]; };})