{ stdenv, fetchFromGitHub, qt4, sqlite, cmake }:

stdenv.mkDerivation rec {
  version = "3.9.1";
  name = "sqlitebrowser-${version}";

  src = fetchFromGitHub {
    repo   = "sqlitebrowser";
    owner  = "sqlitebrowser";
    rev    = "v${version}";
    sha256 = "1s7f2d7wx2i68x60z7wdws3il6m83k5n5w5wyjvr0mz0mih0s150";
  };

  buildInputs = [ qt4 sqlite cmake ];

  meta = with stdenv.lib; {
    description = "DB Browser for SQLite";
    homepage = "http://sqlitebrowser.org/";
    license = licenses.gpl3;
    maintainers = [ maintainers.matthiasbeyer ];
    platforms = platforms.linux; # can only test on linux
  };
}


{ stdenv, fetchFromGitHub, qt4, sqlite, cmake }:

stdenv.mkDerivation rec {
  version = "3.8.0";
  name = "sqlitebrowser-${version}";

  src = fetchFromGitHub {
    repo   = "sqlitebrowser";
    owner  = "sqlitebrowser";
    rev    = "v${version}";
    sha256 = "009yaamf6f654dl796f1gmj3rb34d55w87snsfgk33gpy6x19ccp";
  };

  buildInputs = [ qt4 sqlite cmake ];

  meta = with stdenv.lib; {
    description = "DB Browser for SQLite";
    homepage = "http://sqlitebrowser.org/";
    license = licenses.gpl3;
    maintainers = [ maintainers.matthiasbeyer ];
    platforms = platforms.linux; # can only test on linux
  };
}


Revert "sqlitebrowser: 3.8.0 -> 3.9.1"
Revert "sqlitebrowser: 3.8.0 -> 3.9.1"

This reverts commit f9d7d29fa939eeba39d5aa497b9703e60a016eab.
