summary refs log tree commit diff
path: root/pkgs/development/python-modules/libtmux/default.nix
blob: b9404ab5ec313593d1f1cb16c5de5d9a27302302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }:

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "libtmux";
  version = "0.7.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "12e5006e59b7d98af5d1a9294f9c8ff2829ac2c1c6ae23dc73c280100b15f485";
  };

  buildInputs = [ pytest_29 ];
  patchPhase = ''
    sed -i 's/==.*$//' requirements/test.txt
  '';

  meta = with stdenv.lib; {
    description = "Scripting library for tmux";
    homepage = https://libtmux.readthedocs.io/;
    license = licenses.bsd3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ jgeerds ];
  };
}