Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
959 B · 46 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, pytest-cov-stub, pytestCheckHook, pythonOlder, setuptools-scm,}:
buildPythonPackage rec { pname = "asteval"; version = "1.0.6"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "lmfit"; repo = "asteval"; tag = version; hash = "sha256-DzLVe8TlWAPQXzai9CJlDAow6UTSmkA/DW3fT30YfZY="; };
build-system = [ setuptools-scm ];
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "asteval" ];
disabledTests = [ # AssertionError: 'ImportError' != None "test_set_default_nodehandler" ];
meta = with lib; { description = "AST evaluator of Python expression using ast module"; homepage = "https://github.com/lmfit/asteval"; changelog = "https://github.com/lmfit/asteval/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}