1{ lib
2, aiounittest
3, buildPythonPackage
4, fetchPypi
5, isPy27
6, pytestCheckHook
7, typing-extensions
8}:
9
10buildPythonPackage rec {
11 pname = "aiosqlite";
12 version = "0.17.0";
13 disabled = isPy27;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-8OaswkvEhkFJJnrIL7Rt+zvkRV+Z/iHfgmCcxua67lE=";
18 };
19
20 checkInputs = [
21 aiounittest
22 pytestCheckHook
23 typing-extensions
24 ];
25
26 # tests are not pick-up automatically by the hook
27 pytestFlagsArray = [ "aiosqlite/tests/*.py" ];
28
29 pythonImportsCheck = [ "aiosqlite" ];
30
31 meta = with lib; {
32 description = "Asyncio bridge to the standard sqlite3 module";
33 homepage = "https://github.com/jreese/aiosqlite";
34 license = licenses.mit;
35 maintainers = [ maintainers.costrouc ];
36 };
37}