mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
55 lines
918 B
Nix
55 lines
918 B
Nix
{ asttokens
|
|
, buildPythonPackage
|
|
, executing
|
|
, fetchFromGitHub
|
|
, git
|
|
, lib
|
|
, littleutils
|
|
, pure-eval
|
|
, pygments
|
|
, pytestCheckHook
|
|
, setuptools_scm
|
|
, toml
|
|
, typeguard
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stack_data";
|
|
version = "0.0.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alexmojaki";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "148lhxihak8jm5dvryhsiykmn3s4mrlba8ki4dy1nbd8jnz06a4w";
|
|
};
|
|
|
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
|
|
nativeBuildInputs = [
|
|
git
|
|
setuptools_scm
|
|
toml
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
asttokens
|
|
executing
|
|
pure-eval
|
|
];
|
|
|
|
checkInputs = [
|
|
littleutils
|
|
pygments
|
|
pytestCheckHook
|
|
typeguard
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Extract data from stack frames and tracebacks";
|
|
homepage = "https://github.com/alexmojaki/stack_data/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jluttine ];
|
|
};
|
|
}
|