Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / async-generator / default.nix
blob17014a410d4cb70d571b6989e7f5945ef47a8982
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "async-generator";
10   version = "1.10";
12   disabled = pythonOlder "3.5";
14   src = fetchPypi {
15     pname = "async_generator";
16     inherit version;
17     hash = "sha256-brs9EGwSkgqq5CzLb3h+9e79zdFm6j1ij6hHar5xIUQ=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
24   pythonImportsCheck = [ "async_generator" ];
26   meta = with lib; {
27     description = "Async generators and context managers for Python 3.5+";
28     homepage = "https://github.com/python-trio/async_generator";
29     license = with licenses; [ mit asl20 ];
30     maintainers = with maintainers; [ dotlambda ];
31   };