nixpkgs/pkgs/applications/networking/browsers/midori/default.nix

32 lines
962 B
Nix
Raw Normal View History

2019-02-13 21:47:50 +00:00
{ stdenv, fetchurl, cmake, ninja, pkgconfig, intltool, vala, wrapGAppsHook, gcr, libpeas
, gtk3, webkitgtk, sqlite, gsettings-desktop-schemas, libsoup, glib-networking
}:
stdenv.mkDerivation rec {
2018-12-24 01:54:39 +00:00
pname = "midori";
version = "7";
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";
};
nativeBuildInputs = [
2018-12-24 01:54:39 +00:00
pkgconfig cmake ninja intltool vala wrapGAppsHook
];
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
];
2018-12-24 01:54:39 +00:00
meta = with stdenv.lib; {
description = "Lightweight WebKitGTK web browser";
2018-12-24 01:54:39 +00:00
homepage = https://www.midori-browser.org/;
license = with licenses; [ lgpl21Plus ];
platforms = with platforms; linux;
maintainers = with maintainers; [ raskin ramkromberg ];
};
}