depot/third_party/nixpkgs/pkgs/development/python-modules/libtmux/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

26 lines
589 B
Nix

{ lib, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "libtmux";
version = "0.10.1";
src = fetchPypi {
inherit pname version;
sha256 = "c8bc81499616ba899538704e419463a1c83ba7ca21e53b1efc6abbe98eb26b61";
};
checkInputs = [ pytest ];
postPatch = ''
sed -i 's/==.*$//' requirements/test.txt
'';
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Scripting library for tmux";
homepage = "https://libtmux.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}