python312Packages.aiohttp-isal: init at 0.3.1
This commit is contained in:
parent
5a5c2e0e89
commit
5e455b5f95
56
pkgs/development/python-modules/aiohttp-isal/default.nix
Normal file
56
pkgs/development/python-modules/aiohttp-isal/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, poetry-core
|
||||
|
||||
# dependencies
|
||||
, aiohttp
|
||||
, isal
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohttp-isal";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bdraco";
|
||||
repo = "aiohttp-isal";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rSXV5Z5JdznQGtRI83UIbaSfbIYkUHphJTVK/LM2V4U=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
isal
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
sed -i '/addopts/d' pyproject.toml
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohttp_isal"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/bdraco/aiohttp-isal/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Isal support for aiohttp";
|
||||
homepage = "https://github.com/bdraco/aiohttp-isal";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -249,6 +249,8 @@ self: super: with self; {
|
||||
|
||||
aiohttp-fast-url-dispatcher = callPackage ../development/python-modules/aiohttp-fast-url-dispatcher { };
|
||||
|
||||
aiohttp-isal = callPackage ../development/python-modules/aiohttp-isal { };
|
||||
|
||||
aiohttp-jinja2 = callPackage ../development/python-modules/aiohttp-jinja2 { };
|
||||
|
||||
aiohttp-oauthlib = callPackage ../development/python-modules/aiohttp-oauthlib { };
|
||||
|
Loading…
Reference in New Issue
Block a user