python3Packages.pyopenuv: 2.2.1 -> 2021.10.0

This commit is contained in:
Fabian Affolter 2021-11-10 16:10:01 +01:00
parent d08ca4d117
commit abd21e2700

View file

@ -8,23 +8,27 @@
, poetry-core , poetry-core
, pytest-aiohttp , pytest-aiohttp
, pytest-asyncio , pytest-asyncio
, pytest-cov
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyopenuv"; pname = "pyopenuv";
version = "2.2.1"; version = "2021.10.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bachya"; owner = "bachya";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-9hpXVKCpVbUAoTxd5mHP9NK1dZxbrQUxrQrOEVHpaPo="; sha256 = "sha256-3zTyW3eXOA9frSAy4g7iWhymc1hBo0hrxIgPLMqrLTs=";
}; };
nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
@ -36,13 +40,18 @@ buildPythonPackage rec {
asynctest asynctest
pytest-asyncio pytest-asyncio
pytest-aiohttp pytest-aiohttp
pytest-cov
pytestCheckHook pytestCheckHook
]; ];
# Ignore the examples as they are prefixed with test_ # Ignore the examples as they are prefixed with test_
pytestFlagsArray = [ "--ignore examples/" ]; disabledTestPaths = [
pythonImportsCheck = [ "pyopenuv" ]; # Ignore the examples as they are prefixed with test_
"examples/"
];
pythonImportsCheck = [
"pyopenuv"
];
meta = with lib; { meta = with lib; {
description = "Python API to retrieve data from openuv.io"; description = "Python API to retrieve data from openuv.io";