Merge pull request #214360 from emilytrau/aiodocker
python3Packages.aiodocker: init at unstable-2022-01-20
This commit is contained in:
commit
6543b06db4
2 changed files with 35 additions and 0 deletions
33
pkgs/development/python-modules/aiodocker/default.nix
Normal file
33
pkgs/development/python-modules/aiodocker/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodocker";
|
||||
# unstable includes support for python 3.10+
|
||||
version = "unstable-2022-01-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = pname;
|
||||
rev = "f1dbdc3d42147f4c2ab5e6802acf6f7d0f885be4";
|
||||
sha256 = "RL5Ck4wsBZO88afmoojeFKbdIeCjDo/SwNqUcERH6Ls=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# tests require docker daemon
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "aiodocker" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Docker API client for asyncio";
|
||||
homepage = "https://github.com/aio-libs/aiodocker";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ emilytrau ];
|
||||
};
|
||||
}
|
|
@ -162,6 +162,8 @@ self: super: with self; {
|
|||
|
||||
aiodns = callPackage ../development/python-modules/aiodns { };
|
||||
|
||||
aiodocker = callPackage ../development/python-modules/aiodocker { };
|
||||
|
||||
aioeafm = callPackage ../development/python-modules/aioeafm { };
|
||||
|
||||
aioeagle = callPackage ../development/python-modules/aioeagle { };
|
||||
|
|
Loading…
Reference in a new issue