2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, cmake, fetchFromGitHub
|
2018-01-26 19:52:34 +00:00
|
|
|
, qtbase, qtmultimedia, qtwebengine
|
2018-09-28 20:09:26 +01:00
|
|
|
, version ? "0.9.99.3"
|
|
|
|
, sourceSha ? "0dkismjs3daz5afx6s5arwvynsw5qpvv2rqbzvmpihn6khnhap55"
|
2018-01-25 23:38:54 +00:00
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "otter-browser-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OtterBrowser";
|
|
|
|
repo = "otter-browser";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = sourceSha;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2018-01-26 19:52:34 +00:00
|
|
|
buildInputs = [ qtbase qtmultimedia qtwebengine ];
|
2018-01-25 23:38:54 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-01-26 19:52:34 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-01-25 23:38:54 +00:00
|
|
|
description = "Browser aiming to recreate the best aspects of the classic Opera (12.x) UI using Qt5";
|
|
|
|
maintainers = with maintainers; [ lheckemann ];
|
|
|
|
};
|
|
|
|
}
|