Merge pull request #213962 from esclear/update-pgmodeler

pgmodeler: 1.0.0-beta1 -> 1.0.0
This commit is contained in:
Weijia Wang 2023-02-01 19:27:35 +01:00 committed by GitHub
commit 66284cab3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -37944,7 +37944,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 { };