Merge pull request #154731 from fabaff/fix-aiorun

python310Packages.aiorun: 2021.8.1 -> 2021.10.1
This commit is contained in:
Fabian Affolter 2022-01-12 13:56:59 +01:00 committed by GitHub
commit 21c25ccfcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,21 +4,21 @@
, pythonOlder , pythonOlder
, pygments , pygments
, pytestCheckHook , pytestCheckHook
, pytest-cov
, uvloop , uvloop
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiorun"; pname = "aiorun";
version = "2021.8.1"; version = "2021.10.1";
format = "flit"; format = "flit";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cjrh"; owner = "cjrh";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-aehYPZ1+GEO+bNSsE5vVgjtVo4MRMH+vNurk+bJ1/Io="; hash = "sha256-9e1vUWDBv3BYWuKR/rZUvaIxFFetzBQaygXKnl4PDd8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -27,7 +27,6 @@ buildPythonPackage rec {
checkInputs = [ checkInputs = [
pytestCheckHook pytestCheckHook
pytest-cov
uvloop uvloop
]; ];
@ -36,7 +35,9 @@ buildPythonPackage rec {
export HOME=$TMPDIR export HOME=$TMPDIR
''; '';
pythonImportsCheck = [ "aiorun" ]; pythonImportsCheck = [
"aiorun"
];
meta = with lib; { meta = with lib; {
description = "Boilerplate for asyncio applications"; description = "Boilerplate for asyncio applications";