friture: backport fix for setuptools packaging
This commit is contained in:
parent
5c81b88187
commit
751ce748bd
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
|
{ lib, fetchFromGitHub, fetchpatch, python3Packages, wrapQtAppsHook }:
|
||||||
|
|
||||||
let
|
let
|
||||||
py = python3Packages;
|
py = python3Packages;
|
||||||
|
@ -28,6 +28,15 @@ in py.buildPythonApplication rec {
|
||||||
rtmixer
|
rtmixer
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Backported fix that resolves an issue with setuptools packaging
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-setuptools-packaging.patch";
|
||||||
|
url = "https://github.com/tlecomte/friture/commit/ea7210dae883edf17de8fec82f9428b18ee138b6.diff";
|
||||||
|
sha256 = "sha256-Kv/vmC8kcqfOgfIPQyZN46sbV6bezhq6pyj8bvke6s8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Remove version constraints from Python dependencies in setup.py
|
# Remove version constraints from Python dependencies in setup.py
|
||||||
sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py
|
sed -i -E "s/\"([A-Za-z0-9]+)(=|>|<)=[0-9\.]+\"/\"\1\"/g" setup.py
|
||||||
|
|
Loading…
Reference in a new issue