pgadmin4: 9.11 -> 9.13
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
zlib,
|
||||
nixosTests,
|
||||
postgresqlTestHook,
|
||||
@@ -20,14 +21,14 @@
|
||||
|
||||
let
|
||||
pname = "pgadmin";
|
||||
version = "9.11";
|
||||
yarnHash = "sha256-x8EbZPQxCRBfeBXJGHW1tyN3tWzTqlMGvftizspfBRw=";
|
||||
version = "9.13";
|
||||
yarnHash = "sha256-ViqjZ40M78EZ4ZOMuiAGJqx6Xyv4dqY9X7jMDbohaY8=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgadmin-org";
|
||||
repo = "pgadmin4";
|
||||
rev = "REL-${lib.versions.major version}_${lib.versions.minor version}";
|
||||
hash = "sha256-t+TdudbCq68fXJrcAzyESZTiA4qVkQgwF4efc4IJrl0=";
|
||||
hash = "sha256-dG8oxE9g30Dz3K3PveoMjPa1/eY9RWEV2QBdx2Dz+Rg=";
|
||||
};
|
||||
|
||||
# keep the scope, as it is used throughout the derivation and tests
|
||||
@@ -67,6 +68,12 @@ pythonPackages.buildPythonApplication rec {
|
||||
./expose-setup.py.patch
|
||||
# check for permission of /etc/pgadmin/config_system and don't fail
|
||||
./check-system-config-dir.patch
|
||||
# fix session.py See https://github.com/pgadmin-org/pgadmin4/pull/9706
|
||||
(fetchpatch2 {
|
||||
name = "session.patch";
|
||||
url = "https://github.com/pgadmin-org/pgadmin4/commit/7043587387c17635f62bab8414546bb8c0dbadf4.patch?full_index=1";
|
||||
hash = "sha256-gZrO0dBy5EklZf/dKr9j3RJ54rtzFrw53v91vqkRboY=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
||||
Reference in New Issue
Block a user