pythonPackages.debugpy: 1.1.0 -> 1.2.0
This commit is contained in:
committed by
Jonathan Ringer
parent
7042bc3fe9
commit
87e9b49fc7
@@ -18,13 +18,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "debugpy";
|
||||
version = "1.1.0";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Microsoft";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1f6a62hg82fn9ddrl6g11x2h27zng8jmrlfbnnra6q590i5v1ixr";
|
||||
sha256 = "1r5w5ngipj5fgjylrmlw3jrh5y2n67n68l91sj9329549x4ww8dh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -34,6 +34,11 @@ buildPythonPackage rec {
|
||||
inherit gdb;
|
||||
})
|
||||
|
||||
(substituteAll {
|
||||
src = ./hardcode-version.patch;
|
||||
inherit version;
|
||||
})
|
||||
|
||||
# Fix importing debugpy in:
|
||||
# - test_nodebug[module-launch(externalTerminal)]
|
||||
# - test_nodebug[module-launch(integratedTerminal)]
|
||||
@@ -45,13 +50,6 @@ buildPythonPackage rec {
|
||||
./fix-test-pythonpath.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Use nixpkgs version instead of versioneer
|
||||
substituteInPlace setup.py \
|
||||
--replace "cmds = versioneer.get_cmdclass()" "cmds = {}" \
|
||||
--replace "version=versioneer.get_version()" "version='${version}'"
|
||||
'';
|
||||
|
||||
# Remove pre-compiled "attach" libraries and recompile for host platform
|
||||
# Compile flags taken from linux_and_mac/compile_linux.sh & linux_and_mac/compile_mac.sh
|
||||
preBuild = ''(
|
||||
|
||||
Reference in New Issue
Block a user