aioitertools: init at 0.7.1
This commit is contained in:
parent
6b99abdb35
commit
10c7ebc718
35
pkgs/development/python-modules/aioitertools/default.nix
Normal file
35
pkgs/development/python-modules/aioitertools/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, typing-extensions
|
||||||
|
, coverage
|
||||||
|
, python
|
||||||
|
, toml
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "aioitertools";
|
||||||
|
version = "0.7.1";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "18ql6k2j1839jf2rmmmm29v6fb7mr59l75z8nlf0sadmydy6r9al";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ typing-extensions ];
|
||||||
|
checkInputs = [ coverage toml ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} -m coverage run -m aioitertools.tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables.";
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://pypi.org/project/aioitertools/";
|
||||||
|
maintainers = with maintainers; [ teh ];
|
||||||
|
};
|
||||||
|
}
|
@ -221,6 +221,8 @@ in {
|
|||||||
|
|
||||||
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
|
||||||
|
|
||||||
|
aioitertools = callPackage ../development/python-modules/aioitertools { };
|
||||||
|
|
||||||
aiohue = callPackage ../development/python-modules/aiohue { };
|
aiohue = callPackage ../development/python-modules/aiohue { };
|
||||||
|
|
||||||
aioimaplib = callPackage ../development/python-modules/aioimaplib { };
|
aioimaplib = callPackage ../development/python-modules/aioimaplib { };
|
||||||
|
Loading…
Reference in New Issue
Block a user