mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
93cb47a2fc
Fixes build with python.pkgs.tox 3.0.0.
28 lines
561 B
Nix
28 lines
561 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest, tox, py, eventlet }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "detox";
|
|
version = "0.12";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "06svvkszg6xlg0fr471smn4rmpfga960d6qqsyhyiwa48k59n4gk";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|