python3Packages.asyncclick: init at 8.0.1.3
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, anyio
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, trio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncclick";
|
||||
version = "8.0.1.3";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-trio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "03b8zz8i3aqzxr3ffzb4sxnrcm3gsk9r4hmr0fkml1ahi754bx2r";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
anyio
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
trio
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# RuntimeWarning: coroutine 'Context.invoke' was never awaited
|
||||
"test_context_invoke_type"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "asyncclick" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python composable command line utility";
|
||||
homepage = "https://github.com/python-trio/asyncclick";
|
||||
license = with licenses; [ bsd3 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -621,6 +621,8 @@ in {
|
||||
|
||||
async-lru = callPackage ../development/python-modules/async-lru { };
|
||||
|
||||
asyncclick = callPackage ../development/python-modules/asyncclick { };
|
||||
|
||||
asynccmd = callPackage ../development/python-modules/asynccmd { };
|
||||
|
||||
asyncio-dgram = callPackage ../development/python-modules/asyncio-dgram { };
|
||||
|
||||
Reference in New Issue
Block a user