pgmodeler: 1.0.0-beta1 -> 1.0.0

This commit also changes pgmodeler to qt6, which is now supported since
this release.
Thanks @kilianar for the heads up!
This commit is contained in:
Daniel Albert 2023-02-01 13:53:11 +01:00
parent 1efc432d4f
commit ef62649382
No known key found for this signature in database
GPG key ID: 08C68B46CA8BF970
2 changed files with 9 additions and 7 deletions

View file

@ -1,28 +1,30 @@
{ lib
, stdenv
, fetchFromGitHub
, wrapQtAppsHook
, pkg-config
, qmake
, mkDerivation
, qtwayland
, qtsvg
, postgresql
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "pgmodeler";
version = "1.0.0-beta1";
version = "1.0.0";
src = fetchFromGitHub {
owner = "pgmodeler";
repo = "pgmodeler";
rev = "v${version}";
sha256 = "sha256-5ZIzxo2UvE+aKznF9ZLYFg5z3JkYCB+9rGdVDJl14Hw=";
sha256 = "sha256-Lim9iQYdmulwZEIayoBGoAmQ7rysTEEof5iXy3kfKXs=";
};
nativeBuildInputs = [ pkg-config qmake ];
nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ];
qmakeFlags = [ "pgmodeler.pro" "CONFIG+=release" ];
# todo: libpq would suffice here. Unfortunately this won't work, if one uses only postgresql.lib here.
buildInputs = [ postgresql qtsvg ];
buildInputs = [ postgresql qtsvg qtwayland ];
meta = with lib; {
description = "A database modeling tool for PostgreSQL";

View file

@ -37937,7 +37937,7 @@ with pkgs;
pgadmin4 = callPackage ../tools/admin/pgadmin { };
pgmodeler = libsForQt5.callPackage ../applications/misc/pgmodeler { };
pgmodeler = qt6Packages.callPackage ../applications/misc/pgmodeler { };
physlock = callPackage ../misc/screensavers/physlock { };