libhttpseverywhere: use gnome mirrors (#19938)

libhttpseverywhere is a GNOME project now, so it is available via GNOME
mirrors.

authored by sternenseemann and committed by Vladimír Čunát 750af04b 80d956ca

+9 -8
+9 -8
pkgs/development/libraries/libhttpseverywhere/default.nix
··· 1 - {stdenv, fetchFromGitHub, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}: 1 + {stdenv, fetchurl, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}: 2 2 3 3 stdenv.mkDerivation rec { 4 + major = "0.2"; 5 + minor = "3"; 6 + version = "${major}.${minor}"; 7 + 4 8 name = "libhttpseverywhere-${version}"; 5 - version = "0.2.3"; 6 9 7 - src = fetchFromGitHub { 8 - owner = "grindhold"; 9 - repo = "libhttpseverywhere"; 10 - rev = "${version}"; 11 - sha256 = "0ggg1kw5yjakqqpnmjcbcpnq5m4lhc76javh8waqv2klr5mxd2a7"; 10 + src = fetchurl { 11 + url = "mirror://gnome/sources/libhttpseverywhere/${major}/libhttpseverywhere-${version}.tar.xz"; 12 + sha256 = "0ndk6yyfcd7iwwkv4rkivhd08k0x8v03gnp9dk1ms4bxb1l2i8l1"; 12 13 }; 13 14 14 15 nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ]; ··· 33 34 34 35 meta = { 35 36 description = "library to use HTTPSEverywhere in desktop applications"; 36 - homepage = https://github.com/grindhold/libhttpseverywhere; 37 + homepage = https://git.gnome.org/browse/libhttpseverywhere; 37 38 license = stdenv.lib.licenses.lgpl3; 38 39 platforms = stdenv.lib.platforms.linux; 39 40 maintainers = with stdenv.lib.maintainers; [ sternenseemann ];