depot/third_party/nixpkgs/pkgs/development/python-modules/libtmux/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
588 B
Nix

{ lib, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
pname = "libtmux";
version = "0.8.5";
src = fetchPypi {
inherit pname version;
sha256 = "1d35b9f8451944d31c5ed22ed9e6c8e18034adcc75718fcc5b27fbd9621543e1";
};
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; [ ];
};
}