diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix index c1c7a1297ce2..1d53ea2aceb3 100644 --- a/pkgs/applications/networking/browsers/qutebrowser/default.nix +++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix @@ -1,29 +1,30 @@ -{ stdenv, fetchgit, python, buildPythonPackage, qtmultimedia, pyqt5 -, jinja2, pygments, pyyaml, pypeg2, gst_plugins_base, gst_plugins_good -, gst_ffmpeg }: +{ stdenv, fetchurl, python, buildPythonPackage, qtmultimedia, pyqt5 +, jinja2, pygments, pyyaml, pypeg2, gst-plugins-base, gst-plugins-good +, gst-plugins-bad, gst-libav, wrapGAppsHook, glib_networking }: -let version = "0.4.1"; in +let version = "0.5.0"; in -buildPythonPackage { +buildPythonPackage rec { name = "qutebrowser-${version}"; namePrefix = ""; - src = fetchgit { - url = "https://github.com/The-Compiler/qutebrowser.git"; - rev = "8d9e9851f1dcff5deb6363586ad0f1edec040b72"; - sha256 = "1qsdad10swnk14qw4pfyvb94y6valhkscyvl46zbxxs7ck6llsm2"; + src = fetchurl { + url = "https://github.com/The-Compiler/qutebrowser/releases/download/v${version}/${name}.tar.gz"; + sha256 = "16cyw0jg6qg9ksr6xwgnkm1a2bwgii2s35nrgk3g705ywfsf02j7"; }; # Needs tox doCheck = false; + buildInputs = [ wrapGAppsHook + gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav + glib_networking ]; + propagatedBuildInputs = [ python pyyaml pyqt5 jinja2 pygments pypeg2 ]; makeWrapperArgs = '' - --prefix GST_PLUGIN_PATH : "${stdenv.lib.makeSearchPath "lib/gstreamer-0.10" - [ gst_plugins_base gst_plugins_good gst_ffmpeg ]}" --prefix QT_PLUGIN_PATH : "${qtmultimedia}/lib/qt5/plugins" ''; diff --git a/pkgs/development/libraries/glib-networking/default.nix b/pkgs/development/libraries/glib-networking/default.nix index a17b7a21409b..6bb3c8c1e5a2 100644 --- a/pkgs/development/libraries/glib-networking/default.nix +++ b/pkgs/development/libraries/glib-networking/default.nix @@ -2,15 +2,15 @@ , gsettings_desktop_schemas }: let - ver_maj = "2.44"; - ver_min = "0"; + ver_maj = "2.46"; + ver_min = "1"; in stdenv.mkDerivation rec { name = "glib-networking-${ver_maj}.${ver_min}"; src = fetchurl { url = "mirror://gnome/sources/glib-networking/${ver_maj}/${name}.tar.xz"; - sha256 = "8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346"; + sha256 = "1cchmi08jpjypgmm9i7xzh5qfg2q5k61kry9ns8mhw3z44a440ym"; }; configureFlags = "--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt"; diff --git a/pkgs/development/libraries/libsoup/default.nix b/pkgs/development/libraries/libsoup/default.nix index f71cc77321a5..3d10e6135055 100644 --- a/pkgs/development/libraries/libsoup/default.nix +++ b/pkgs/development/libraries/libsoup/default.nix @@ -3,15 +3,15 @@ , libintlOrEmpty , intltool, python }: let - majorVersion = "2.50"; - version = "${majorVersion}.0"; + majorVersion = "2.52"; + version = "${majorVersion}.2"; in stdenv.mkDerivation { name = "libsoup-${version}"; src = fetchurl { url = "mirror://gnome/sources/libsoup/${majorVersion}/libsoup-${version}.tar.xz"; - sha256 = "1e01365ac4af3817187ea847f9d3588c27eee01fc519a5a7cb212bb78b0f667b"; + sha256 = "1p4k40y2gikr6m8p3hm0vswdzj2pj133dckipd2jk5bxbj5n4mfv"; }; patchPhase = '' @@ -25,7 +25,7 @@ stdenv.mkDerivation { passthru.propagatedUserEnvPackages = [ glib_networking ]; # glib_networking is a runtime dependency, not a compile-time dependency - configureFlags = "--disable-tls-check" + stdenv.lib.optionalString (!gnomeSupport) " --without-gnome"; + configureFlags = "--disable-tls-check --enable-vala=no" + stdenv.lib.optionalString (!gnomeSupport) " --without-gnome"; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba7420d14d31..fa53958d7aa4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12976,8 +12976,9 @@ let gst_plugins_bad = null; }; - qutebrowser = qt5.callPackage ../applications/networking/browsers/qutebrowser { + qutebrowser = qt55.callPackage ../applications/networking/browsers/qutebrowser { inherit (python34Packages) buildPythonPackage python pyqt5 jinja2 pygments pyyaml pypeg2; + inherit (gst_all_1) gst-plugins-base gst-plugins-good gst-plugins-bad gst-libav; }; rabbitvcs = callPackage ../applications/version-management/rabbitvcs {};