2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-09-21 22:45:51 +01:00
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-09-21 22:45:51 +01:00
|
|
|
, intltool
|
2019-10-03 03:54:12 +01:00
|
|
|
, vala
|
2019-09-21 22:45:51 +01:00
|
|
|
, wrapGAppsHook
|
|
|
|
, gcr
|
|
|
|
, libpeas
|
|
|
|
, gtk3
|
|
|
|
, webkitgtk
|
|
|
|
, sqlite
|
|
|
|
, gsettings-desktop-schemas
|
|
|
|
, libsoup
|
|
|
|
, glib-networking
|
|
|
|
, json-glib
|
|
|
|
, libarchive
|
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";
|
2019-09-21 22:45:51 +01:00
|
|
|
version = "9.0";
|
2008-09-07 13:58:56 +01:00
|
|
|
|
2013-12-26 05:48:17 +00:00
|
|
|
src = fetchurl {
|
2019-09-21 22:45:51 +01:00
|
|
|
url = "https://github.com/midori-browser/core/releases/download/v${version}/midori-v${version}.tar.gz";
|
|
|
|
sha256 = "05i04qa83dnarmgkx4xsk6fga5lw1lmslh4rb3vhyyy4ala562jy";
|
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 = [
|
2019-09-21 22:45:51 +01:00
|
|
|
cmake
|
|
|
|
intltool
|
|
|
|
ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-10-03 03:54:12 +01:00
|
|
|
vala
|
2019-09-21 22:45:51 +01:00
|
|
|
wrapGAppsHook
|
2016-08-14 22:49:19 +01:00
|
|
|
];
|
|
|
|
|
2013-12-26 05:48:17 +00:00
|
|
|
buildInputs = [
|
2019-09-21 22:45:51 +01:00
|
|
|
(libsoup.override { gnomeSupport = true; })
|
|
|
|
gcr
|
2018-12-24 01:54:39 +00:00
|
|
|
glib-networking
|
2019-09-21 22:45:51 +01:00
|
|
|
gsettings-desktop-schemas
|
|
|
|
gtk3
|
|
|
|
libpeas
|
|
|
|
sqlite
|
|
|
|
webkitgtk
|
|
|
|
json-glib
|
|
|
|
libarchive
|
2013-12-26 05:48:17 +00:00
|
|
|
];
|
2012-03-25 12:22:32 +01:00
|
|
|
|
2021-07-13 00:16:27 +01:00
|
|
|
passthru = {
|
|
|
|
inherit gtk3;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Lightweight WebKitGTK web browser";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.midori-browser.org/";
|
2018-12-24 01:54:39 +00:00
|
|
|
license = with licenses; [ lgpl21Plus ];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ raskin ramkromberg ];
|
|
|
|
};
|
2008-09-07 13:58:56 +01:00
|
|
|
}
|