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.6.a1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitHub { 20 owner = "kumaraditya303"; 21 repo = "aioshutil"; 22 tag = "v${version}"; 23 hash = "sha256-KoKIlliWSbU8KY92SgFm4Wams87O22KVlE41q18Sk3I="; 24 }; 25 26 build-system = [ 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 changelog = "https://github.com/kumaraditya303/aioshutil/releases/tag/${src.tag}"; 40 license = licenses.bsd3; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}