1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools
5, aiounittest
6, isPy27
7, pytest
8}:
9
10buildPythonPackage rec {
11 pname = "aiosqlite";
12 version = "0.12.0";
13 disabled = isPy27;
14
15 src = fetchFromGitHub {
16 owner = "jreese";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "090vdv210zfry0bms5b3lmm06yhiyjb8ga96996cqs611l7c2a2j";
20 };
21
22 buildInputs = [
23 setuptools
24 ];
25
26 checkInputs = [
27 aiounittest
28 ];
29
30 meta = with lib; {
31 description = "Asyncio bridge to the standard sqlite3 module";
32 homepage = "https://github.com/jreese/aiosqlite";
33 license = licenses.mit;
34 maintainers = [ maintainers.costrouc ];
35 };
36}