2019-12-29 18:07:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, setuptools
|
|
|
|
, aiounittest
|
|
|
|
, isPy27
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiosqlite";
|
2020-04-10 13:30:19 +01:00
|
|
|
version = "0.12.0";
|
2019-12-29 18:07:21 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jreese";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-10 13:30:19 +01:00
|
|
|
sha256 = "090vdv210zfry0bms5b3lmm06yhiyjb8ga96996cqs611l7c2a2j";
|
2019-12-29 18:07:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
aiounittest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Asyncio bridge to the standard sqlite3 module";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jreese/aiosqlite";
|
2019-12-29 18:07:21 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|