##// END OF EJS Templates
nix: Add pytest-sugar to our development environment.
Martin Bornhold -
r83:25a177ac default
parent child Browse files
Show More
@@ -300,7 +300,7 b''
300 };
300 };
301 rhodecode-vcsserver = super.buildPythonPackage {
301 rhodecode-vcsserver = super.buildPythonPackage {
302 name = "rhodecode-vcsserver-4.5.0";
302 name = "rhodecode-vcsserver-4.5.0";
303 buildInputs = with self; [mock pytest WebTest];
303 buildInputs = with self; [mock pytest pytest-sugar WebTest];
304 doCheck = true;
304 doCheck = true;
305 propagatedBuildInputs = with self; [configobj dulwich hgsubversion infrae.cache mercurial msgpack-python pyramid Pyro4 simplejson subprocess32 waitress WebOb];
305 propagatedBuildInputs = with self; [configobj dulwich hgsubversion infrae.cache mercurial msgpack-python pyramid Pyro4 simplejson subprocess32 waitress WebOb];
306 src = ./.;
306 src = ./.;
@@ -467,5 +467,30 b''
467
467
468 ### Test requirements
468 ### Test requirements
469
469
470
470 pytest-sugar = super.buildPythonPackage {
471 name = "pytest-sugar-0.7.1";
472 buildInputs = with self; [];
473 doCheck = false;
474 propagatedBuildInputs = with self; [pytest termcolor];
475 src = fetchurl {
476 url = "https://pypi.python.org/packages/03/97/05d988b4fa870e7373e8ee4582408543b9ca2bd35c3c67b569369c6f9c49/pytest-sugar-0.7.1.tar.gz";
477 md5 = "7400f7c11f3d572b2c2a3b60352d35fe";
478 };
479 meta = {
480 license = [ pkgs.lib.licenses.bsdOriginal ];
481 };
482 };
483 termcolor = super.buildPythonPackage {
484 name = "termcolor-1.1.0";
485 buildInputs = with self; [];
486 doCheck = false;
487 propagatedBuildInputs = with self; [];
488 src = fetchurl {
489 url = "https://pypi.python.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz";
490 md5 = "043e89644f8909d462fbbfa511c768df";
491 };
492 meta = {
493 license = [ pkgs.lib.licenses.mit ];
494 };
495 };
471 }
496 }
@@ -74,6 +74,7 b' setup('
74 tests_require=[
74 tests_require=[
75 'mock',
75 'mock',
76 'pytest',
76 'pytest',
77 'pytest-sugar',
77 'WebTest',
78 'WebTest',
78 ],
79 ],
79 install_requires=[
80 install_requires=[
General Comments 0
You need to be logged in to leave comments. Login now