git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.debugpy: 1.0.0 -> 1.1.0
commitda11534a4ec96b57de4d882d04a0bbe4117767fd authorMetaDark <kira.bruneau@gmail.com> dateMon 26 Oct 2020, 18:00 (6 years ago) parent5594fe0
1 file changed+9−2
pkgs/development/python-modules/debugpy/default.nix+9−2
pkgs/development/python-modules/debugpy/default.nix+9−2
@@ -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 = ''(