@@ -18,13 +18,13 @@
1818
1919buildPythonPackage rec {
2020 pname = "debugpy";
21− version = "1.0.0";
21+ version = "1.1.0";
2222
2323 src = fetchFromGitHub {
2424 owner = "Microsoft";
2525 repo = pname;
2626 rev = "v${version}";
27− sha256 = "1cxwbq97n5pfmq0hji1ybbc6i1jg5bjy830dq23zqxbwxxwjx98m";
27+ sha256 = "1f6a62hg82fn9ddrl6g11x2h27zng8jmrlfbnnra6q590i5v1ixr";
2828 };
2929
3030 patches = [
@@ -45,6 +45,13 @@ buildPythonPackage rec {
4545 ./fix-test-pythonpath.patch
4646 ];
4747
48+ postPatch = ''
49+ # Use nixpkgs version instead of versioneer
50+ substituteInPlace setup.py \
51+ --replace "cmds = versioneer.get_cmdclass()" "cmds = {}" \
52+ --replace "version=versioneer.get_version()" "version='${version}'"
53+ '';
54+
4855 # Remove pre-compiled "attach" libraries and recompile for host platform
4956 # Compile flags taken from linux_and_mac/compile_linux.sh & linux_and_mac/compile_mac.sh
5057 preBuild = ''(