depot/third_party/nixpkgs/pkgs/development/tools/database/sqlitebrowser/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
717 B
Nix

{ mkDerivation, lib, fetchFromGitHub, cmake, antlr
, qtbase, qttools, qscintilla, sqlite }:
mkDerivation rec {
pname = "sqlitebrowser";
version = "3.11.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx";
};
buildInputs = [ antlr qtbase qscintilla sqlite ];
nativeBuildInputs = [ cmake qttools ];
NIX_LDFLAGS = "-lQt5PrintSupport";
enableParallelBuilding = true;
meta = with lib; {
description = "DB Browser for SQLite";
homepage = "https://sqlitebrowser.org/";
license = licenses.gpl3;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}