pythonPackages.stack-data: init at 0.0.7
This commit is contained in:
parent
b8fa662585
commit
854f78d155
54
pkgs/development/python-modules/stack-data/default.nix
Normal file
54
pkgs/development/python-modules/stack-data/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6928,6 +6928,8 @@ in {
|
||||||
|
|
||||||
sslyze = callPackage ../development/python-modules/sslyze { };
|
sslyze = callPackage ../development/python-modules/sslyze { };
|
||||||
|
|
||||||
|
stack-data = callPackage ../development/python-modules/stack-data { };
|
||||||
|
|
||||||
starlette = callPackage ../development/python-modules/starlette { };
|
starlette = callPackage ../development/python-modules/starlette { };
|
||||||
|
|
||||||
staticjinja = callPackage ../development/python-modules/staticjinja { };
|
staticjinja = callPackage ../development/python-modules/staticjinja { };
|
||||||
|
|
Loading…
Reference in a new issue