Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 51 lines 997 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, mock 5, nose 6, pytestCheckHook 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "parameterized"; 12 version = "0.8.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-Qbv/N9YYZDD3f5ANd35btqJJKKHEb7HeaS+LUriDO1w="; 20 }; 21 22 checkInputs = [ 23 mock 24 nose 25 pytestCheckHook 26 ]; 27 28 pytestFlagsArray = [ 29 "parameterized/test.py" 30 ]; 31 32 disabledTests = [ 33 # Tests seem outdated 34 "test_method" 35 "test_with_docstring_0_value1" 36 "test_with_docstring_1_v_l_" 37 "testCamelCaseMethodC" 38 ]; 39 40 pythonImportsCheck = [ 41 "parameterized" 42 ]; 43 44 meta = with lib; { 45 description = "Parameterized testing with any Python test framework"; 46 homepage = "https://github.com/wolever/parameterized"; 47 changelog = "https://github.com/wolever/parameterized/blob/v${version}/CHANGELOG.txt"; 48 license = licenses.bsd2; 49 maintainers = with maintainers; [ ]; 50 }; 51}