1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, setuptools
5, aiounittest
6, isPy27
7, pytest
8}:
9
10buildPythonPackage rec {
11 pname = "aiosqlite";
12 version = "0.11.0";
13 disabled = isPy27;
14
15 src = fetchFromGitHub {
16 owner = "jreese";
17 repo = pname;
18 rev = "v${version}";
19 sha256 = "0pmkp4iy738yv2sl08kvhd0ma6wjqbmfnwid72gvg4zqsr1hnn0z";
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}