mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
[Backport release-24.11] python312Packages.hikari: fix build (#357063)
This commit is contained in:
commit
8ebbdd9318
@ -35,7 +35,6 @@ buildPythonPackage rec {
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
attrs
|
||||
@ -64,6 +63,9 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace hikari/_about.py \
|
||||
--replace-fail "__git_sha1__: typing.Final[str] = \"HEAD\"" "__git_sha1__: typing.Final[str] = \"$(cat $src/COMMIT)\""
|
||||
# XXX: Remove once pytest-asyncio is updated to 0.24+
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "asyncio_default_fixture_loop_scope = \"func\"" ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@ -71,6 +73,9 @@ buildPythonPackage rec {
|
||||
homepage = "https://www.hikari-py.dev/";
|
||||
changelog = "https://github.com/hikari-py/hikari/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ tomodachi94 sigmanificient ];
|
||||
maintainers = with lib.maintainers; [
|
||||
tomodachi94
|
||||
sigmanificient
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user