python3Packages.setproctitle: ignore impure tests

This commit is contained in:
Jonathan Ringer 2020-11-30 17:32:45 -08:00 committed by Frederik Rietdijk
parent 7bd3696366
commit 9cb62449f6

View file

@ -1,6 +1,7 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
@ -12,6 +13,11 @@ buildPythonPackage rec {
sha256 = "9b4e48722dd96cbd66d5bf2eab930fff8546cd551dd8d774c8a319448bd381a6";
};
checkInputs = [ pytestCheckHook ];
# tries to compile programs with dependencies that aren't available
pytestFlagsArray = [ "--ignore=tests/setproctitle_test.py" ];
meta = with stdenv.lib; {
description = "Allows a process to change its title (as displayed by system tools such as ps and top)";
homepage = "https://github.com/dvarrazzo/py-setproctitle";