1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonAtLeast, 6 setuptools, 7 pynose, 8 coverage, 9 wrapt, 10}: 11 12buildPythonPackage rec { 13 pname = "aiounittest"; 14 version = "1.4.2"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "kwarunek"; 19 repo = pname; 20 rev = "refs/tags/${version}"; 21 hash = "sha256-7lDOI1SHPpRZLTHRTmfbKlZH18T73poJdFyVmb+HKms="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ wrapt ]; 27 28 nativeCheckInputs = [ 29 pynose 30 coverage 31 ]; 32 33 checkPhase = '' 34 nosetests -e test_specific_test 35 ''; 36 37 pythonImportsCheck = [ "aiounittest" ]; 38 39 meta = with lib; { 40 description = "Test asyncio code more easily"; 41 homepage = "https://github.com/kwarunek/aiounittest"; 42 license = licenses.mit; 43 maintainers = [ ]; 44 }; 45}