Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, buildPythonPackage, fetchFromGitHub, pytest-cov-stub, pytestCheckHook, setuptools-scm,}:
buildPythonPackage (finalAttrs: { pname = "asteval"; version = "1.0.10"; pyproject = true;
src = fetchFromGitHub { owner = "lmfit"; repo = "asteval"; tag = finalAttrs.version; hash = "sha256-Z30H1bSud/VbYnHqRYzyJnDufFM4uBhPcMtVmZ1Sl94="; };
build-system = [ setuptools-scm ];
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "asteval" ];
disabledTests = [ # AssertionError: 'ImportError' != None "test_set_default_nodehandler" ];
meta = { description = "AST evaluator of Python expression using ast module"; homepage = "https://github.com/lmfit/asteval"; changelog = "https://github.com/lmfit/asteval/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})