2019-02-13 21:47:50 +00:00
|
|
|
{ stdenv, fetchurl, cmake, ninja, pkgconfig, intltool, vala, wrapGAppsHook, gcr, libpeas
|
2018-12-24 01:54:39 +00:00
|
|
|
, gtk3, webkitgtk, sqlite, gsettings-desktop-schemas, libsoup, glib-networking, gnome3
|
2013-12-26 05:48:17 +00:00
|
|
|
}:
|
2008-09-07 13:58:56 +01:00
|
|
|
|
2013-12-26 05:48:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-12-24 01:54:39 +00:00
|
|
|
pname = "midori";
|
|
|
|
version = "7";
|
2008-09-07 13:58:56 +01:00
|
|
|
|
2013-12-26 05:48:17 +00:00
|
|
|
src = fetchurl {
|
2018-12-24 01:54:39 +00:00
|
|
|
url = "https://github.com/midori-browser/core/releases/download/v${version}/midori-v${version}.0.tar.gz";
|
|
|
|
sha256 = "0ffdnjp55s0ci737vlhxikb2nihghwlb6mjcjzpgpnzi47vjqnwh";
|
2013-12-26 05:48:17 +00:00
|
|
|
};
|
2008-09-07 13:58:56 +01:00
|
|
|
|
2016-08-14 22:49:19 +01:00
|
|
|
nativeBuildInputs = [
|
2018-12-24 01:54:39 +00:00
|
|
|
pkgconfig cmake ninja intltool vala wrapGAppsHook
|
2016-08-14 22:49:19 +01:00
|
|
|
];
|
|
|
|
|
2013-12-26 05:48:17 +00:00
|
|
|
buildInputs = [
|
2018-12-25 22:41:02 +00:00
|
|
|
gtk3 webkitgtk sqlite gsettings-desktop-schemas gcr
|
2019-02-13 21:47:50 +00:00
|
|
|
(libsoup.override { gnomeSupport = true; }) libpeas
|
2018-12-24 01:54:39 +00:00
|
|
|
glib-networking
|
2013-12-26 05:48:17 +00:00
|
|
|
];
|
2012-03-25 12:22:32 +01:00
|
|
|
|
2018-12-24 01:54:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Lightweight WebKitGTK+ web browser";
|
|
|
|
homepage = https://www.midori-browser.org/;
|
|
|
|
license = with licenses; [ lgpl21Plus ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ raskin ramkromberg ];
|
|
|
|
};
|
2008-09-07 13:58:56 +01:00
|
|
|
}
|