Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at r-updates 31 lines 682 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 xorg, 6 mock, 7}: 8 9buildPythonPackage rec { 10 pname = "xvfbwrapper"; 11 version = "0.2.13"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-ouR2yaTxlzf+Ky0LgB5m8P9wH9oz2YakvzTdxBR1QQI="; 17 }; 18 propagatedBuildInputs = [ xorg.xvfb ]; 19 20 # See: https://github.com/cgoldberg/xvfbwrapper/issues/30 21 doCheck = false; 22 23 nativeCheckInputs = [ mock ]; 24 25 meta = with lib; { 26 description = "Run headless display inside X virtual framebuffer (Xvfb)"; 27 homepage = "https://github.com/cgoldberg/xvfbwrapper"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ ashgillman ]; 30 }; 31}