mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
moz-phab: use substituteInPlace instead of a patch
This commit is contained in:
parent
836ba699de
commit
cbfec29e81
@ -20,11 +20,12 @@ buildPythonApplication rec {
|
|||||||
sha256 = "sha256-uKoMMSp5AIvB1qTRYAh7n1+2dDLneFbssfkfTTshfcs=";
|
sha256 = "sha256-uKoMMSp5AIvB1qTRYAh7n1+2dDLneFbssfkfTTshfcs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
# Relax python-hglib requirement
|
||||||
# Relax python-hglib requirement
|
# https://phabricator.services.mozilla.com/D131618
|
||||||
# https://phabricator.services.mozilla.com/D131618
|
postPatch = ''
|
||||||
./relax-hglib-version.diff
|
substituteInPlace setup.py \
|
||||||
];
|
--replace "==" ">="
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
distro
|
distro
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/setup.py b/setup.py
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -15,7 +15,7 @@
|
|
||||||
install_requires=[
|
|
||||||
"distro",
|
|
||||||
"glean-sdk>=36.0.0",
|
|
||||||
- "python-hglib==2.6.1",
|
|
||||||
+ "python-hglib>=2.6.2",
|
|
||||||
"sentry-sdk>=0.14.3",
|
|
||||||
"setuptools",
|
|
||||||
],
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user