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

27 lines
589 B
Nix
Raw Normal View History

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