summary refs log tree commit diff
path: root/pkgs/development/tools/database/sqlitebrowser/default.nix
blob: 3a4425d436a6e07da1d9743c0e17521189a58ee1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ mkDerivation, lib, fetchFromGitHub, cmake, antlr
, qtbase, qttools, qscintilla, sqlite }:

mkDerivation rec {
  pname = "sqlitebrowser";
  version = "3.11.2";

  src = fetchFromGitHub {
    owner  = pname;
    repo   = pname;
    rev    = "v${version}";
    sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx";
  };

  buildInputs = [ antlr qtbase qscintilla sqlite ];

  nativeBuildInputs = [ cmake qttools ];

  NIX_LDFLAGS = "-lQt5PrintSupport";

  enableParallelBuilding = true;

  meta = with lib; {
    description = "DB Browser for SQLite";
    homepage = https://sqlitebrowser.org/;
    license = licenses.gpl3;
    maintainers = with maintainers; [  ];
    platforms = platforms.unix;
  };
}