mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #249775 from tjni/libtmux
python3.pkgs.libtmux: remove setuptools build dependency
This commit is contained in:
commit
20a431f6b2
@ -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…
Reference in New Issue
Block a user