mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
python312Packages.hikari: fix build (#355886)
This commit is contained in:
commit
6e1b17d0d7
@ -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