3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/database/sqlitebrowser/default.nix

33 lines
754 B
Nix
Raw Normal View History

{ mkDerivation, lib, fetchFromGitHub, cmake, antlr
, qtbase, qttools, qscintilla, sqlite }:
2017-05-17 20:26:11 +01:00
mkDerivation rec {
pname = "sqlitebrowser";
version = "3.11.2";
2016-03-08 01:29:56 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
2016-03-08 01:29:56 +00:00
rev = "v${version}";
sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx";
};
buildInputs = [ antlr qtbase qscintilla sqlite ];
2017-05-17 20:26:11 +01:00
nativeBuildInputs = [ cmake qttools ];
NIX_LDFLAGS = [
"-lQt5PrintSupport"
];
enableParallelBuilding = true;
2017-05-17 20:26:11 +01:00
meta = with lib; {
description = "DB Browser for SQLite";
homepage = http://sqlitebrowser.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ ma27 ];
platforms = platforms.linux; # can only test on linux
};
}