Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 62 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ lib, buildPythonPackage, fetchFromGitHub, toolz, cons, multipledispatch, etuples, logical-unification, py, pytestCheckHook, pytest-html, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "minikanren"; version = "1.0.5"; pyproject = true;
src = fetchFromGitHub { owner = "pythological"; repo = "kanren"; tag = "v${version}"; hash = "sha256-lCQ0mKT99zK5A74uoo/9bP+eFdm3MC43Fh8+P2krXrs="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ toolz cons multipledispatch etuples logical-unification ];
nativeCheckInputs = [ py pytestCheckHook pytest-html ];
pytestFlags = [ "--html=testing-report.html" "--self-contained-html" ];
pythonImportsCheck = [ "kanren" ];
meta = with lib; { description = "Relational programming in Python"; homepage = "https://github.com/pythological/kanren"; changelog = "https://github.com/pythological/kanren/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = with maintainers; [ Etjean ]; };}