mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
pythonPackages.debugpy: 1.0.0 -> 1.1.0
This commit is contained in:
parent
5594fe0c39
commit
da11534a4e
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "debugpy";
|
pname = "debugpy";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Microsoft";
|
owner = "Microsoft";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1cxwbq97n5pfmq0hji1ybbc6i1jg5bjy830dq23zqxbwxxwjx98m";
|
sha256 = "1f6a62hg82fn9ddrl6g11x2h27zng8jmrlfbnnra6q590i5v1ixr";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -45,6 +45,13 @@ buildPythonPackage rec {
|
|||||||
./fix-test-pythonpath.patch
|
./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
|
# 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
|
# Compile flags taken from linux_and_mac/compile_linux.sh & linux_and_mac/compile_mac.sh
|
||||||
preBuild = ''(
|
preBuild = ''(
|
||||||
|
Loading…
Reference in New Issue
Block a user