biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / aioshutil / default.nix
blobaae881ce671dd0f607b2dccaeb71a0964deb40bc
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytest-asyncio,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "aioshutil";
13   version = "1.5";
14   pyproject = true;
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "kumaraditya303";
20     repo = "aioshutil";
21     rev = "refs/tags/v${version}";
22     hash = "sha256-hSUNx43sIUPs4YfQ+H39FXTpj3oCMUqRzDdHX2OdRdE=";
23   };
25   postPatch = ''
26     substituteInPlace setup.cfg \
27       --replace-fail " --cov aioshutil --cov-report xml" ""
28   '';
30   nativeBuildInputs = [ setuptools-scm ];
32   nativeCheckInputs = [
33     pytest-asyncio
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "aioshutil" ];
39   meta = with lib; {
40     description = "Asynchronous version of function of shutil module";
41     homepage = "https://github.com/kumaraditya303/aioshutil";
42     license = licenses.bsd3;
43     maintainers = with maintainers; [ fab ];
44   };