Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 665 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, six 5, pythonOlder 6, mock 7, coverage 8}: 9 10buildPythonPackage rec { 11 pname = "nose2"; 12 version = "0.8.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3"; 17 }; 18 19 propagatedBuildInputs = [ six coverage ] 20 ++ stdenv.lib.optionals (pythonOlder "3.4") [ mock ]; 21 22 # AttributeError: 'module' object has no attribute 'collector' 23 doCheck = false; 24 25 meta = with stdenv.lib; { 26 description = "nose2 is the next generation of nicer testing for Python"; 27 homepage = https://github.com/nose-devs/nose2; 28 license = licenses.bsd0; 29 }; 30 31}