Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 30 lines 866 B view raw
1{ mkDerivation, lib, fetchFromGitHub, cmake, antlr 2, qtbase, qttools, sqlite }: 3 4mkDerivation rec { 5 pname = "sqlitebrowser"; 6 version = "3.12.0"; 7 8 src = fetchFromGitHub { 9 owner = pname; 10 repo = pname; 11 rev = version; 12 sha256 = "1arv4rzl8s1vjjqzz35l2b1rfzr2b8b23v97fdw1kdxpwvs63l99"; 13 }; 14 15 # We should be using qscintilla from nixpkgs instead of the vendored version, 16 # but qscintilla is currently in a bit of a mess as some consumers expect a 17 # -qt4 or -qt5 prefix while others do not. 18 # We *really* should get that cleaned up. 19 buildInputs = [ antlr qtbase sqlite ]; 20 21 nativeBuildInputs = [ cmake qttools ]; 22 23 meta = with lib; { 24 description = "DB Browser for SQLite"; 25 homepage = "https://sqlitebrowser.org/"; 26 license = licenses.gpl3; 27 maintainers = with maintainers; [ peterhoeg ]; 28 platforms = platforms.unix; 29 }; 30}