Merge pull request #316971 from otavio/bump-tmux

python312Packages.libtmux: 0.36.0 -> 0.37.0, tmuxp: 1.46.0 -> 1.47.0
This commit is contained in:
Peder Bergebakken Sundt
2024-06-06 23:42:04 +02:00
committed by GitHub
2 changed files with 11 additions and 11 deletions
@@ -1,33 +1,34 @@
{
lib,
stdenv,
fetchFromGitHub,
buildPythonPackage,
fetchFromGitHub,
ncurses,
poetry-core,
procps,
pytest-rerunfailures,
pytestCheckHook,
procps,
tmux,
ncurses,
}:
buildPythonPackage rec {
pname = "libtmux";
version = "0.36.0";
version = "0.37.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tmux-python";
repo = pname;
repo = "libtmux";
rev = "refs/tags/v${version}";
hash = "sha256-oJ2IGaPFMKA/amUEPZi1UO9vZtjPNQg3SIFjQWzUeSE=";
hash = "sha256-I0E6zkfQ6mx2svCaXEgKPhrrog3iLgXZ4E3CMMxPkIA=";
};
postPatch = ''
sed -i '/addopts/d' pyproject.toml
substituteInPlace pyproject.toml \
--replace-fail '"--doctest-docutils-modules",' ""
'';
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
nativeCheckInputs = [
procps
@@ -53,7 +54,6 @@ buildPythonPackage rec {
disabledTestPaths = lib.optionals stdenv.isDarwin [
"tests/test_test.py"
"tests/legacy_api/test_test.py"
];
pythonImportsCheck = [ "libtmux" ];
+2 -2
View File
@@ -2,8 +2,8 @@
let
pname = "tmuxp";
version = "1.46.0";
hash = "sha256-+aXpsB4mjw9sZLalv3knW8okP+mh2P/nbZCiCwa3UBU=";
version = "1.47.0";
hash = "sha256-HYY6CEUPpZVvVK9kV4Ehw4wGk5YfIVSkZ0+qqf6Nz4c=";
in
python3Packages.buildPythonApplication {
inherit pname version;