1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/detox/default.nix

31 lines
680 B
Nix
Raw Normal View History

2018-03-31 19:56:14 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, tox, py, eventlet }:
buildPythonPackage rec {
pname = "detox";
2019-02-14 07:37:14 +00:00
version = "0.19";
2018-03-31 19:56:14 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:14 +00:00
sha256 = "e650f95f0c7f5858578014b3b193e5dac76c89285c1bbe4bae598fd641bf9cd3";
2018-03-31 19:56:14 +01:00
};
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;
license = licenses.mit;
# detox is unmaintained and incompatible with tox > 3.6
broken = true;
2018-03-31 19:56:14 +01:00
};
}