nixpkgs/pkgs/development/python-modules/libtmux/default.nix

27 lines
598 B
Nix
Raw Normal View History

2018-01-20 11:57:34 +00:00
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
2017-06-03 12:49:35 +01:00
buildPythonPackage rec {
pname = "libtmux";
2020-08-16 18:31:06 +01:00
version = "0.8.3";
2017-06-03 12:49:35 +01:00
src = fetchPypi {
inherit pname version;
2020-08-16 18:31:06 +01:00
sha256 = "a4c7379604ccdc684aa865723211184709f9a2b45511772989b5f26ad156650e";
2017-06-03 12:49:35 +01:00
};
2018-01-20 11:57:34 +00:00
checkInputs = [ pytest ];
postPatch = ''
2017-06-03 12:49:35 +01:00
sed -i 's/==.*$//' requirements/test.txt
'';
2018-01-20 11:57:34 +00:00
# No tests in archive
doCheck = false;
2017-06-03 12:49:35 +01:00
meta = with stdenv.lib; {
description = "Scripting library for tmux";
homepage = "https://libtmux.readthedocs.io/";
2017-06-03 12:49:35 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ ];
2017-06-03 12:49:35 +01:00
};
}