depot/third_party/nixpkgs/pkgs/development/python-modules/asyncstdlib/default.nix
Default email d9e13ed064 Project import generated by Copybara.
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
2021-09-22 23:38:15 +08:00

38 lines
791 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, typing-extensions
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "asyncstdlib";
version = "3.10.1";
disabled = pythonOlder "3.7";
format = "flit";
src = fetchFromGitHub {
owner = "maxfischer2781";
repo = pname;
rev = "v${version}";
sha256 = "sha256-D8XaBny/m6dXMz6k/FhVX/5t8guNdJsfiX4cVQV4VIY=";
};
propagatedBuildInputs = [
typing-extensions
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "asyncstdlib" ];
meta = with lib; {
description = "Python library that extends the Python asyncio standard library";
homepage = "https://asyncstdlib.readthedocs.io/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}