Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 680 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pytest, tox, py, eventlet }: 3 4buildPythonPackage rec { 5 pname = "detox"; 6 version = "0.19"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "e650f95f0c7f5858578014b3b193e5dac76c89285c1bbe4bae598fd641bf9cd3"; 11 }; 12 13 buildInputs = [ pytest ]; 14 propagatedBuildInputs = [ tox py eventlet ]; 15 16 checkPhase = '' 17 py.test 18 ''; 19 20 # eventlet timeout, and broken invokation 3.5 21 doCheck = false; 22 23 meta = with stdenv.lib; { 24 description = "What is detox?"; 25 homepage = https://bitbucket.org/hpk42/detox; 26 license = licenses.mit; 27 # detox is unmaintained and incompatible with tox > 3.6 28 broken = true; 29 }; 30}