nixpkgs-suyu/pkgs/development/tools/database/sqlitebrowser/default.nix

33 lines
728 B
Nix
Raw Normal View History

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