Merge pull request #70203 from esclear/pgmodeler

pgmodeler: init at 0.9.1
This commit is contained in:
Lassulus 2019-10-02 10:18:28 +02:00 committed by GitHub
commit 0cd4732b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 0 deletions

View File

@ -2051,6 +2051,12 @@
github = "ertes";
name = "Ertugrul Söylemez";
};
esclear = {
email = "esclear@users.noreply.github.com";
github = "esclear";
githubId = 7432848;
name = "Daniel Albert";
};
Esteth = {
email = "adam.copp@gmail.com";
name = "Adam Copp";

View File

@ -0,0 +1,32 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, qmake, mkDerivation,
qtsvg,
libxml2, postgresql }:
mkDerivation rec {
pname = "pgmodeler";
version = "0.9.1";
src = fetchFromGitHub {
owner = "pgmodeler";
repo = "pgmodeler";
rev = "v${version}";
sha256 = "15isnbli9jj327r6sj7498nmhgf1mzdyhc1ih120ibw4900aajiv";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig qmake ];
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 ];
meta = with stdenv.lib; {
description = "A database modeling tool for PostgreSQL";
longDescription = ''pgModeler (PostgreSQL Database Modeler) is an open source database modeling tool designed for PostgreSQL.'';
homepage = https://pgmodeler.io/;
license = licenses.gpl3;
maintainers = [ maintainers.esclear ];
platforms = platforms.linux;
};
}

View File

@ -24305,6 +24305,8 @@ in
openssl = openssl_1_0_2;
};
pgmodeler = libsForQt5.callPackage ../applications/misc/pgmodeler { };
pgf = pgf2;
# Keep the old PGF since some documents don't render properly with