1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-asyncio, 6 pytest-cov-stub, 7 pytestCheckHook, 8 pythonOlder, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "aioshutil"; 14 version = "1.5"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "kumaraditya303"; 21 repo = "aioshutil"; 22 tag = "v${version}"; 23 hash = "sha256-hSUNx43sIUPs4YfQ+H39FXTpj3oCMUqRzDdHX2OdRdE="; 24 }; 25 26 nativeBuildInputs = [ setuptools-scm ]; 27 28 nativeCheckInputs = [ 29 pytest-asyncio 30 pytest-cov-stub 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "aioshutil" ]; 35 36 meta = with lib; { 37 description = "Asynchronous version of function of shutil module"; 38 homepage = "https://github.com/kumaraditya303/aioshutil"; 39 license = licenses.bsd3; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}