pgadmin4: 8.12 -> 9.0

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes 2025-02-08 09:50:42 +01:00
parent 7c30daaa70
commit cb8f1fa80b
No known key found for this signature in database
GPG Key ID: 074048E893713170
2 changed files with 2880 additions and 2939 deletions

View File

@ -16,14 +16,14 @@
let
pname = "pgadmin";
version = "8.12";
yarnHash = "sha256-C5CI8oP9vEana3OEs1yAsSSTvO2uLEuCU1nHhC7LerY=";
version = "9.0";
yarnHash = "sha256-CVanJx4gmhtiCMpmDzViY/kw9cu9ey0S6r5SPZKzVxA=";
src = fetchFromGitHub {
owner = "pgadmin-org";
repo = "pgadmin4";
rev = "REL-${lib.versions.major version}_${lib.versions.minor version}";
hash = "sha256-OIFHaU+Ty0xJn42iqYhse8dfFJZpx8AV/10RNxp1Y4o=";
hash = "sha256-WscqFuxdy29SIaTfKgKu7pKcQrU0f6tNvC7BifaDnYQ=";
};
# keep the scope, as it is used throughout the derivation and tests
@ -78,7 +78,7 @@ pythonPackages.buildPythonApplication rec {
sed 's|*|0|g' -i requirements.txt
# remove packageManager from package.json so we can work without corepack
substituteInPlace web/package.json \
--replace-fail "\"packageManager\": \"yarn@3.8.3\"" "\"\": \"\""
--replace-fail "\"packageManager\": \"yarn@3.8.7\"" "\"\": \"\""
substituteInPlace pkg/pip/setup_pip.py \
--replace-fail "req = req.replace('psycopg[c]', 'psycopg[binary]')" "req = req"
${lib.optionalString (!server-mode) ''
@ -196,7 +196,6 @@ pythonPackages.buildPythonApplication rec {
azure-identity
sphinxcontrib-youtube
dnspython
greenlet
speaklater3
google-auth-oauthlib
google-api-python-client

File diff suppressed because it is too large Load Diff