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