2022-01-20 23:04:04 +01:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, poetry-core
|
|
|
|
, pytestCheckHook
|
|
|
|
, pkgs
|
|
|
|
}:
|
2017-06-03 13:49:35 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libtmux";
|
2022-01-13 16:58:30 -08:00
|
|
|
version = "0.10.3";
|
2022-01-20 23:04:04 +01:00
|
|
|
format = "pyproject";
|
2017-06-03 13:49:35 +02:00
|
|
|
|
2022-01-20 23:04:04 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tmux-python";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256:0syj8m4x2mcq96b76b7h75dsmcai22m15pfgkk90rpg7rp6sn772";
|
2017-06-03 13:49:35 +02:00
|
|
|
};
|
|
|
|
|
2022-01-20 23:04:04 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
2017-06-03 13:49:35 +02:00
|
|
|
|
2022-01-20 23:04:04 +01:00
|
|
|
checkInputs = [
|
|
|
|
pkgs.procps
|
|
|
|
pkgs.tmux
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-01-20 12:57:34 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-06-03 13:49:35 +02:00
|
|
|
description = "Scripting library for tmux";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://libtmux.readthedocs.io/";
|
2017-06-03 13:49:35 +02:00
|
|
|
license = licenses.bsd3;
|
2019-03-12 23:45:33 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2017-06-03 13:49:35 +02:00
|
|
|
};
|
|
|
|
}
|