pythonPackages.debugpy: 1.2.1 → 1.3.0
This commit is contained in:
parent
7cb7620008
commit
dcc2125848
2 changed files with 7 additions and 4 deletions
|
@ -17,13 +17,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "debugpy";
|
pname = "debugpy";
|
||||||
version = "1.2.1";
|
version = "1.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Microsoft";
|
owner = "Microsoft";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1dgjbbhy228w2zbfq5pf0hkai7742zw8mmybnzjdc9l6pw7360rq";
|
hash = "sha256-YGzc9mMIzPTmUgIXuZROLdYKjUm69x9SR+JtYRVpn24=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -33,6 +33,7 @@ buildPythonPackage rec {
|
||||||
inherit gdb;
|
inherit gdb;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Use nixpkgs version instead of versioneer
|
||||||
(substituteAll {
|
(substituteAll {
|
||||||
src = ./hardcode-version.patch;
|
src = ./hardcode-version.patch;
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -87,6 +88,8 @@ buildPythonPackage rec {
|
||||||
"gevent"
|
"gevent"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "debugpy" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An implementation of the Debug Adapter Protocol for Python";
|
description = "An implementation of the Debug Adapter Protocol for Python";
|
||||||
homepage = "https://github.com/microsoft/debugpy";
|
homepage = "https://github.com/microsoft/debugpy";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
diff --git a/tests/debug/session.py b/tests/debug/session.py
|
diff --git a/tests/debug/session.py b/tests/debug/session.py
|
||||||
index 2b39106..6d45a10 100644
|
index 101492f..4ee7cfb 100644
|
||||||
--- a/tests/debug/session.py
|
--- a/tests/debug/session.py
|
||||||
+++ b/tests/debug/session.py
|
+++ b/tests/debug/session.py
|
||||||
@@ -625,6 +625,7 @@ class Session(object):
|
@@ -630,6 +630,7 @@ class Session(object):
|
||||||
if "PYTHONPATH" in self.config.env:
|
if "PYTHONPATH" in self.config.env:
|
||||||
# If specified, launcher will use it in lieu of PYTHONPATH it inherited
|
# If specified, launcher will use it in lieu of PYTHONPATH it inherited
|
||||||
# from the adapter when spawning debuggee, so we need to adjust again.
|
# from the adapter when spawning debuggee, so we need to adjust again.
|
||||||
|
|
Loading…
Reference in a new issue