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;
};
}

View File

@ -1830,30 +1830,7 @@ in {
pretend = callPackage ../development/python-modules/pretend { };
detox = self.buildPythonPackage rec {
name = "detox-0.10.0";
buildInputs = with self; [ pytest ];
propagatedBuildInputs = with self; [ tox py eventlet ];
src = pkgs.fetchurl {
url = "mirror://pypi/d/detox/${name}.tar.gz";
sha256 = "33b704c2a5657366850072fb2aa839df14dd2e692c0c1c2642c3ac30d5c0baec";
};
checkPhase = ''
py.test
'';
# eventlet timeout, and broken invokation 3.5
doCheck = false;
meta = {
description = "What is detox?";
homepage = https://bitbucket.org/hpk42/detox;
};
};
detox = callPackage ../development/python-modules/detox { };
pbkdf2 = buildPythonPackage rec {
name = "pbkdf2-1.3";