python310Packages.aiosqlite: 0.17.0 -> 0.18.0
Diff: https://github.com/omnilib/aiosqlite/compare/refs/tags/v0.17.0...v0.18.0 Changelog: https://github.com/omnilib/aiosqlite/blob/v0.18.0/CHANGELOG.md
This commit is contained in:
parent
d9e229a3af
commit
abbb7c5337
|
@ -1,29 +1,36 @@
|
||||||
{ lib
|
{ lib
|
||||||
, aiounittest
|
, aiounittest
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, isPy27
|
, flit-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, typing-extensions
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiosqlite";
|
pname = "aiosqlite";
|
||||||
version = "0.17.0";
|
version = "0.18.0";
|
||||||
disabled = isPy27;
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.8";
|
||||||
inherit pname version;
|
|
||||||
hash = "sha256-8OaswkvEhkFJJnrIL7Rt+zvkRV+Z/iHfgmCcxua67lE=";
|
src = fetchFromGitHub {
|
||||||
|
owner = "omnilib";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-yPGSKqjOz1EY5/V0oKz2EiZ90q2O4TINoXdxHuB7Gqk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
aiounittest
|
aiounittest
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
typing-extensions
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# tests are not pick-up automatically by the hook
|
# Tests are not pick-up automatically by the hook
|
||||||
pytestFlagsArray = [
|
pytestFlagsArray = [
|
||||||
"aiosqlite/tests/*.py"
|
"aiosqlite/tests/*.py"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue