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-01-04 19:33:51 +00:00
|
|
|
NIX_LDFLAGS = [
|
|
|
|
"-lQt5PrintSupport"
|
|
|
|
];
|
|
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://sqlitebrowser.org/;
|
2015-07-13 16:45:08 +01:00
|
|
|
license = licenses.gpl3;
|
2018-07-05 11:11:19 +01:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2019-08-26 12:20:59 +01:00
|
|
|
platforms = platforms.unix;
|
2015-07-13 16:45:08 +01:00
|
|
|
};
|
|
|
|
}
|