mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #249775 from tjni/libtmux
python3.pkgs.libtmux: remove setuptools build dependency
This commit is contained in:
commit
20a431f6b2
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
, poetry-core
|
||||
, pytest-rerunfailures
|
||||
|
@ -22,6 +23,15 @@ buildPythonPackage rec {
|
|||
hash = "sha256-tz7Pynm/xHx2X3QjXkvFlX6sVlsVKqrsS1CVmqlqfj0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/tmux-python/libtmux/pull/493
|
||||
(fetchpatch {
|
||||
name = "remove-setuptools.patch";
|
||||
url = "https://github.com/tmux-python/libtmux/commit/aa3a1e2015ade73129191ad04146ce52765d478c.patch";
|
||||
hash = "sha256-p3KMktd6eG9/lRK+DdBvDtSwhI+sV2RQfBAuElMk8tQ=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/addopts/d' setup.cfg
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue