pythonPackages.detox: Move to own file
This commit is contained in:
committed by
Frederik Rietdijk
parent
0132eaa86a
commit
9a42fdef90
27
pkgs/development/python-modules/detox/default.nix
Normal file
27
pkgs/development/python-modules/detox/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user