aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/executing/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/executing/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/executing/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/executing/default.nix b/nixpkgs/pkgs/development/python-modules/executing/default.nix
new file mode 100644
index 00000000000..84026d7374c
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/executing/default.nix
@@ -0,0 +1,20 @@
+{ lib, buildPythonPackage, fetchzip, pytest, asttokens }:
+
+buildPythonPackage rec {
+ pname = "executing";
+ version = "0.4.3";
+
+ src = fetchzip {
+ url = "https://github.com/alexmojaki/executing/archive/v${version}.tar.gz";
+ sha256 = "1fqfc26nl703nsx2flzf7x4mgr3rpbd8pnn9c195rca648zhi3nh";
+ };
+
+ checkInputs = [ pytest asttokens ];
+
+ meta = with lib; {
+ description = "Get information about what a frame is currently doing, particularly the AST node being executed";
+ homepage = "https://github.com/alexmojaki/executing";
+ license = licenses.mit;
+ maintainers = with maintainers; [ renatoGarcia ];
+ };
+}