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