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