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