Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 54 lines 918 B view raw
1{ asttokens 2, buildPythonPackage 3, executing 4, fetchFromGitHub 5, git 6, lib 7, littleutils 8, pure-eval 9, pygments 10, pytestCheckHook 11, setuptools_scm 12, toml 13, typeguard 14}: 15 16buildPythonPackage rec { 17 pname = "stack_data"; 18 version = "0.0.7"; 19 20 src = fetchFromGitHub { 21 owner = "alexmojaki"; 22 repo = pname; 23 rev = "v${version}"; 24 sha256 = "148lhxihak8jm5dvryhsiykmn3s4mrlba8ki4dy1nbd8jnz06a4w"; 25 }; 26 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 29 nativeBuildInputs = [ 30 git 31 setuptools_scm 32 toml 33 ]; 34 35 propagatedBuildInputs = [ 36 asttokens 37 executing 38 pure-eval 39 ]; 40 41 checkInputs = [ 42 littleutils 43 pygments 44 pytestCheckHook 45 typeguard 46 ]; 47 48 meta = with lib; { 49 description = "Extract data from stack frames and tracebacks"; 50 homepage = "https://github.com/alexmojaki/stack_data/"; 51 license = licenses.mit; 52 maintainers = with maintainers; [ jluttine ]; 53 }; 54}