nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, fetchFromGitHub
3, buildPythonPackage
4, poetry-core
5, pytestCheckHook
6, procps
7, tmux
8}:
9
10buildPythonPackage rec {
11 pname = "libtmux";
12 version = "0.11.0";
13 format = "pyproject";
14
15 src = fetchFromGitHub {
16 owner = "tmux-python";
17 repo = pname;
18 rev = "v${version}";
19 hash = "sha256-QbKqS40la6UGZENyGEw5kXigzexp3q7ff43fKlQ9GqE=";
20 };
21
22 nativeBuildInputs = [
23 poetry-core
24 ];
25
26 checkInputs = [
27 procps
28 tmux
29
30 pytestCheckHook
31 ];
32
33 meta = with lib; {
34 description = "Scripting library for tmux";
35 homepage = "https://libtmux.readthedocs.io/";
36 license = licenses.bsd3;
37 maintainers = with maintainers; [ ];
38 };
39}