summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/executing
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-11-06 13:54:15 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-11-06 13:54:15 +0100
commitecd529b078aae11ca3351adb7e7ce40657893d71 (patch)
treecfca1b3a103e2851c191367973c5f9f0e57dd320 /pkgs/development/python-modules/executing
parentMerge pull request #141919 from Luflosi/update/swtpm (diff)
downloadnixpkgs-ecd529b078aae11ca3351adb7e7ce40657893d71.tar.gz
python3Packages.executing: 0.5.4 -> 0.8.2
Diffstat (limited to 'pkgs/development/python-modules/executing')
-rw-r--r--pkgs/development/python-modules/executing/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/executing/default.nix b/pkgs/development/python-modules/executing/default.nix
index 8ab6994ac415..1a6664df6712 100644
--- a/pkgs/development/python-modules/executing/default.nix
+++ b/pkgs/development/python-modules/executing/default.nix
@@ -1,19 +1,20 @@
{ lib
+, asttokens
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
-, asttokens
}:
buildPythonPackage rec {
pname = "executing";
- version = "0.5.4";
+ version = "0.8.2";
+ format = "setuptools";
src = fetchFromGitHub {
owner = "alexmojaki";
repo = pname;
rev = "v${version}";
- sha256 = "1hqx94h6l2wg9sljiaajfay2nr62sqa819w3bxrz8cdki1abdygv";
+ sha256 = "sha256-CDZQ9DONn7M+2/GtmM2G6nQPpI9dOd0ca+2F1PGRwO4=";
};
nativeBuildInputs = [
@@ -26,7 +27,13 @@ buildPythonPackage rec {
# Tests appear to run fine (Ran 22 tests in 4.076s) with setuptoolsCheckPhase
# but crash with pytestCheckHook
- checkInputs = [ asttokens ];
+ checkInputs = [
+ asttokens
+ ];
+
+ pythonImportsCheck = [
+ "executing"
+ ];
meta = with lib; {
description = "Get information about what a frame is currently doing, particularly the AST node being executed";