mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
glitchtip: support django-async-backend>=6.1 (#567847)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python314,
|
||||
fetchFromGitLab,
|
||||
fetchpatch,
|
||||
callPackage,
|
||||
stdenv,
|
||||
makeWrapper,
|
||||
@@ -88,6 +89,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-RGYD6HAFZZTSNJWd8n7/gMy9FkjZno9LO1jGxav5d9M=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# support django-async-backend>=6.1
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.com/glitchtip/glitchtip-backend/-/commit/4cf8c9d1518f5835b71c0692a72b63d8a62bea4a.patch";
|
||||
includes = [
|
||||
"glitchtip/ingest_asgi.py"
|
||||
"glitchtip/settings.py"
|
||||
];
|
||||
hash = "sha256-FwOJYSsJcJoqUwuHwHPWkzQqVB81Chex4RFTIhl82XM=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
echo 'import os
|
||||
ALLAUTH_TRUSTED_CLIENT_IP_HEADER = os.getenv(
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
postgresqlTestHook,
|
||||
psycopg,
|
||||
psycopg-pool,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
||||
Reference in New Issue
Block a user