mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPackages.traitlets: fix test runner
This commit is contained in:
parent
945872dc19
commit
8c48312066
1 changed files with 8 additions and 0 deletions
|
@ -19867,6 +19867,9 @@ in modules // {
|
|||
name = "testtools-${version}";
|
||||
version = "1.8.0";
|
||||
|
||||
# Python 2 only judging from SyntaxError
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/t/testtools/${name}.tar.gz";
|
||||
sha256 = "15yxz8d70iy1b1x6gd7spvblq0mjxjardl4vnaqasxafzc069zca";
|
||||
|
@ -19892,8 +19895,13 @@ in modules // {
|
|||
sha256 = "440e38dfa5d2a26c086d4b427cfb7aed17d0a2dca78bce90c33354da2592af5b";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ nose mock ];
|
||||
propagatedBuildInputs = with self; [ipython_genutils decorator];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Traitlets Python config system";
|
||||
homepage = http://ipython.org/;
|
||||
|
|
Loading…
Reference in a new issue