1{ asttokens 2, buildPythonPackage 3, cython 4, executing 5, fetchFromGitHub 6, git 7, lib 8, littleutils 9, pure-eval 10, pygments 11, pytestCheckHook 12, setuptools-scm 13, toml 14, typeguard 15}: 16 17buildPythonPackage rec { 18 pname = "stack-data"; 19 version = "0.2.0"; 20 21 src = fetchFromGitHub { 22 owner = "alexmojaki"; 23 repo = "stack_data"; 24 rev = "v${version}"; 25 sha256 = "sha256-brXFrk1UU5hxCVeRvGK7wzRA0Hoj9fgqoxTIwInPrEc="; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version; 29 30 nativeBuildInputs = [ 31 git 32 setuptools-scm 33 toml 34 ]; 35 36 propagatedBuildInputs = [ 37 asttokens 38 executing 39 pure-eval 40 ]; 41 42 checkInputs = [ 43 cython 44 littleutils 45 pygments 46 pytestCheckHook 47 typeguard 48 ]; 49 50 disabledTests = [ 51 # AssertionError 52 "test_example" 53 "test_executing_style_defs" 54 "test_pygments_example" 55 "test_variables" 56 ]; 57 58 pythonImportsCheck = [ "stack_data" ]; 59 60 meta = with lib; { 61 description = "Extract data from stack frames and tracebacks"; 62 homepage = "https://github.com/alexmojaki/stack_data/"; 63 license = licenses.mit; 64 maintainers = with maintainers; [ jluttine ]; 65 }; 66}