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 { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, wrapQtAppsHook
, pkg-config , pkg-config
, qmake , qmake
, mkDerivation , qtwayland
, qtsvg , qtsvg
, postgresql , postgresql
}: }:
mkDerivation rec { stdenv.mkDerivation rec {
pname = "pgmodeler"; pname = "pgmodeler";
version = "1.0.0-beta1"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pgmodeler"; owner = "pgmodeler";
repo = "pgmodeler"; repo = "pgmodeler";
rev = "v${version}"; 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" ]; qmakeFlags = [ "pgmodeler.pro" "CONFIG+=release" ];
# todo: libpq would suffice here. Unfortunately this won't work, if one uses only postgresql.lib here. # 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; { meta = with lib; {
description = "A database modeling tool for PostgreSQL"; description = "A database modeling tool for PostgreSQL";

View file

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