mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
python310Packages.aiofile: init at 3.8.0
This commit is contained in:
parent
9cb10063fb
commit
ab89aac13e
45
pkgs/development/python-modules/aiofile/default.nix
Normal file
45
pkgs/development/python-modules/aiofile/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, aiomisc
|
||||
, asynctest
|
||||
, caio
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiofile";
|
||||
version = "3.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mosquito";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-PIImQZ1ymazsOg8qmlO91tNYHwXqK/d8AuKPsWYvh0w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
caio
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiomisc
|
||||
asynctest
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiofile"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "File operations with asyncio support";
|
||||
homepage = "https://github.com/mosquito/aiofile";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -306,6 +306,8 @@ in {
|
||||
|
||||
aioextensions = callPackage ../development/python-modules/aioextensions { };
|
||||
|
||||
aiofile = callPackage ../development/python-modules/aiofile { };
|
||||
|
||||
aiofiles = callPackage ../development/python-modules/aiofiles { };
|
||||
|
||||
aioflo = callPackage ../development/python-modules/aioflo { };
|
||||
|
Loading…
Reference in New Issue
Block a user