2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, cmake, fetchFromGitHub
|
2019-04-14 16:02:06 +01:00
|
|
|
, qtbase, qtmultimedia, qtwebengine, qtxmlpatterns
|
2019-01-05 06:42:37 +00:00
|
|
|
, version ? "1.0.01"
|
|
|
|
, sourceSha ? "1jw8bj3lcqngr0mqwvz1gf47qjxbwiyda7x4sm96a6ckga7pcwyb"
|
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 ];
|
|
|
|
|
2019-04-14 16:02:06 +01:00
|
|
|
buildInputs = [ qtbase qtmultimedia qtwebengine qtxmlpatterns ];
|
2018-01-25 23:38:54 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-01-07 00:16:39 +00:00
|
|
|
homepage = https://otter-browser.org;
|
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 ];
|
|
|
|
};
|
|
|
|
}
|