about summary refs log tree commit diff
path: root/pkgs/tools/admin/pgadmin
diff options
context:
space:
mode:
authorFlorian Brandes <florian.brandes@posteo.de>2022-04-27 19:14:02 +0200
committerFlorian Brandes <florian.brandes@posteo.de>2022-04-27 19:15:08 +0200
commit0dd6926b29a4510d5e1d7540dd5d6a0fb485e578 (patch)
treefaec940380e295c1541c4139aaddd7cfec43879a /pkgs/tools/admin/pgadmin
parenteef222b8c2f220033fb76aa64cdfd9dcf9d6a3aa (diff)
pgadmin: revert version string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Diffstat (limited to 'pkgs/tools/admin/pgadmin')
-rw-r--r--pkgs/tools/admin/pgadmin/default.nix10
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/admin/pgadmin/default.nix b/pkgs/tools/admin/pgadmin/default.nix
index 8b40687ec0b3f..ac3af0c1edf91 100644
--- a/pkgs/tools/admin/pgadmin/default.nix
+++ b/pkgs/tools/admin/pgadmin/default.nix
@@ -11,9 +11,7 @@
 let
 
   pname = "pgadmin";
-  majorVersion = "6";
-  minorVersion = "8";
-  version = "${majorVersion}.${minorVersion}";
+  version = "6.8";
 
   src = fetchurl {
     url = "https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v${version}/source/pgadmin4-${version}.tar.gz";
@@ -84,7 +82,7 @@ let
       ];
     });
     flask-paranoid = prev.flask-paranoid.overridePythonAttrs (oldAttrs: rec {
-      # Nothing of interest changed from 0.2 to 0.3
+      # tests fail due to downgrades here
       doCheck = false;
     });
     werkzeug = prev.werkzeug.overridePythonAttrs (oldAttrs: rec {
@@ -185,7 +183,7 @@ pythonPackages.buildPythonApplication rec {
 
   # speaklater3 is seperate because when passing buildDeps
   # to the test, it fails there due to a collision with speaklater
-  propagatedBuildInputs = buildDeps ++ [pythonPackages.speaklater3];
+  propagatedBuildInputs = buildDeps ++ [ pythonPackages.speaklater3 ];
 
   passthru.tests = {
     standalone = nixosTests.pgadmin4-standalone;
@@ -197,7 +195,7 @@ pythonPackages.buildPythonApplication rec {
     description = "Administration and development platform for PostgreSQL";
     homepage = "https://www.pgadmin.org/";
     license = licenses.mit;
-    changelog = "https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_${majorVersion}_${minorVersion}.html";
+    changelog = "https://www.pgadmin.org/docs/pgadmin4/latest/release_notes_${lib.versions.major}_${versions.minor}.html";
     maintainers = with maintainers; [ gador ];
   };
 }