pythonPackages.detox: Move to own file

This commit is contained in:
Elis Hirwing
2018-03-31 20:56:14 +02:00
committed by Frederik Rietdijk
parent 0132eaa86a
commit 9a42fdef90
2 changed files with 28 additions and 24 deletions

View File

@@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, tox, py, eventlet }:
buildPythonPackage rec {
pname = "detox";
version = "0.10.0";
src = fetchPypi {
inherit pname version;
sha256 = "1v5sq3ak1b6388k1q31cd4pds56z76l2myvj022ncwv5lp109drk";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ tox py eventlet ];
checkPhase = ''
py.test
'';
# eventlet timeout, and broken invokation 3.5
doCheck = false;
meta = with stdenv.lib; {
description = "What is detox?";
homepage = https://bitbucket.org/hpk42/detox;
};
}