pythonPackages.aiosqlite: 0.12.0 -> 0.16.0

This commit is contained in:
Sandro Jäckel 2021-01-04 03:59:15 +01:00
parent 1f0048cd89
commit ccc782e4df
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,32 +1,31 @@
{ lib { lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, aiounittest , aiounittest
, buildPythonPackage
, fetchPypi
, isPy27 , isPy27
, pytest , pytestCheckHook
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiosqlite"; pname = "aiosqlite";
version = "0.12.0"; version = "0.16.0";
disabled = isPy27; disabled = isPy27;
src = fetchFromGitHub { src = fetchPypi {
owner = "jreese"; inherit pname version;
repo = pname; sha256 = "1a0fjmlvadyzsml10g5p1qif7192k0swy5zwjp8v48y5zc3yy56h";
rev = "v${version}";
sha256 = "090vdv210zfry0bms5b3lmm06yhiyjb8ga96996cqs611l7c2a2j";
}; };
buildInputs = [
setuptools
];
checkInputs = [ checkInputs = [
aiounittest aiounittest
pytestCheckHook
typing-extensions
]; ];
# tests are not pick-up automatically by the hook
pytestFlagsArray = [ "aiosqlite/tests/*.py" ];
meta = with lib; { meta = with lib; {
description = "Asyncio bridge to the standard sqlite3 module"; description = "Asyncio bridge to the standard sqlite3 module";
homepage = "https://github.com/jreese/aiosqlite"; homepage = "https://github.com/jreese/aiosqlite";