pythonPackages.detox: Move to own file
This commit is contained in:
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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user