python3Packages.aiosignal: init at 1.1.1
This commit is contained in:
parent
4a1c0cdba8
commit
0ddb62fda6
2 changed files with 46 additions and 0 deletions
44
pkgs/development/python-modules/aiosignal/default.nix
Normal file
44
pkgs/development/python-modules/aiosignal/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, frozenlist
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiosignal";
|
||||
version = "1.1.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0a9md2dy83qwg2an57nqrzp9nb7krq27y9zz0f7qxcrv0xd42djy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
frozenlist
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov=aiosignal" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aiosignal" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python list of registered asynchronous callbacks";
|
||||
homepage = "https://github.com/aio-libs/aiosignal";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -333,6 +333,8 @@ in {
|
|||
|
||||
aioshelly = callPackage ../development/python-modules/aioshelly { };
|
||||
|
||||
aiosignal = callPackage ../development/python-modules/aiosignal { };
|
||||
|
||||
aiosmb = callPackage ../development/python-modules/aiosmb { };
|
||||
|
||||
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
|
||||
|
|
Loading…
Reference in a new issue