2017-11-02 07:16:24 +00:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub, cmake, antlr
|
2019-08-26 12:03:42 +01:00
|
|
|
, qtbase, qttools, qscintilla, sqlite }:
|
2015-07-13 16:45:08 +01:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
mkDerivation rec {
|
2019-05-11 12:37:19 +01:00
|
|
|
pname = "sqlitebrowser";
|
2019-08-26 12:03:42 +01:00
|
|
|
version = "3.11.2";
|
2015-07-13 16:45:08 +01:00
|
|
|
|
2016-03-08 01:29:56 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-05-11 12:37:19 +01:00
|
|
|
owner = pname;
|
2019-08-26 12:03:42 +01:00
|
|
|
repo = pname;
|
2016-03-08 01:29:56 +00:00
|
|
|
rev = "v${version}";
|
2019-05-11 12:37:19 +01:00
|
|
|
sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx";
|
2015-07-13 16:45:08 +01:00
|
|
|
};
|
|
|
|
|
2019-08-26 12:03:42 +01:00
|
|
|
buildInputs = [ antlr qtbase qscintilla sqlite ];
|
2017-05-17 20:26:11 +01:00
|
|
|
|
2019-08-26 12:03:42 +01:00
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
2019-05-11 12:37:19 +01:00
|
|
|
|
2019-10-30 11:34:47 +00:00
|
|
|
NIX_LDFLAGS = "-lQt5PrintSupport";
|
2019-01-04 19:33:51 +00:00
|
|
|
|
2017-11-02 07:16:24 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2015-07-13 16:45:08 +01:00
|
|
|
description = "DB Browser for SQLite";
|
2020-01-22 10:26:22 +00:00
|
|
|
homepage = https://sqlitebrowser.org/;
|
2015-07-13 16:45:08 +01:00
|
|
|
license = licenses.gpl3;
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-08-26 12:20:59 +01:00
|
|
|
platforms = platforms.unix;
|
2015-07-13 16:45:08 +01:00
|
|
|
};
|
|
|
|
}
|