summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2022-04-28 20:58:59 +0100
committerThiago Kenji Okada <thiagokokada@gmail.com>2022-04-30 13:19:30 +0100
commite19019fe327a7a9cd8539cfda2381bc2cc59ff75 (patch)
tree5dc64d3804db2f8c73dcafd56b0cba943226bdf3 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parentf08d8f2263359c8a680f806136a697dde8a587f3 (diff)
pythonRelaxDepsHook: init
We have a common pattern here in nixpkgs for Python applications: when a Python package ships with either a requirements.txt or setup.py file, we generally end up having to modify its version restriction, otherwise we have build failures since we package only one specific version of each package normally. However, this end up being done in a completely ad-hoc way: some people use substituteInPlace, some others use sed, others uses patches, etc. In many cases, the code ends up being buggy, so it may work in one version and breaks on the next one. We can instead implement one standard way of doing this, and trying to be a correct as possible. So this is what this commit does: it implements a new build hook, that when called will automatically patch the wheel file. This is one of the most generic ways to patch Python dependencies, and should work in multiple cases.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions