nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 30 lines 715 B view raw
1{ mkDerivation, lib, fetchFromGitHub, cmake, antlr 2, qtbase, qttools, qscintilla, sqlite }: 3 4mkDerivation rec { 5 pname = "sqlitebrowser"; 6 version = "3.11.2"; 7 8 src = fetchFromGitHub { 9 owner = pname; 10 repo = pname; 11 rev = "v${version}"; 12 sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx"; 13 }; 14 15 buildInputs = [ antlr qtbase qscintilla sqlite ]; 16 17 nativeBuildInputs = [ cmake qttools ]; 18 19 NIX_LDFLAGS = "-lQt5PrintSupport"; 20 21 enableParallelBuilding = true; 22 23 meta = with lib; { 24 description = "DB Browser for SQLite"; 25 homepage = https://sqlitebrowser.org/; 26 license = licenses.gpl3; 27 maintainers = with maintainers; [ ]; 28 platforms = platforms.unix; 29 }; 30}