nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5
6 # native
7 flit-core,
8
9 # tests
10 unittestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "aioitertools";
15 version = "0.13.0";
16 pyproject = true;
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-YgvSQazAu7nsgZ8ashWGaHG0u9H3ODalX3mSAO6GlQw=";
21 };
22
23 build-system = [ flit-core ];
24
25 nativeCheckInputs = [ unittestCheckHook ];
26
27 pythonImportsCheck = [ "aioitertools" ];
28
29 meta = {
30 description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables";
31 homepage = "https://aioitertools.omnilib.dev/";
32 changelog = "https://github.com/omnilib/aioitertools/blob/v${version}/CHANGELOG.md";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ teh ];
35 };
36}