python.pkgs.libtmux: fix expression

This commit is contained in:
Frederik Rietdijk 2018-01-20 12:57:34 +01:00
parent 56c3535d06
commit 6d282fa3b6

View File

@ -1,7 +1,6 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }:
{ stdenv, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "libtmux";
version = "0.7.7";
@ -10,11 +9,14 @@ buildPythonPackage rec {
sha256 = "5670c8da8d0192d932ac1e34f010e0eeb098cdb2af6daad0307b5418e7a37733";
};
buildInputs = [ pytest_29 ];
patchPhase = ''
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/;