libhttpseverywhere: use gnome mirrors (#19938)

libhttpseverywhere is a GNOME project now, so it is available via GNOME
mirrors.
This commit is contained in:
sternenseemann 2016-10-29 20:47:37 +02:00 committed by Vladimír Čunát
parent 80d956caf3
commit 750af04bad

View File

@ -1,14 +1,15 @@
{stdenv, fetchFromGitHub, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}: {stdenv, fetchurl, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libhttpseverywhere-${version}"; major = "0.2";
version = "0.2.3"; minor = "3";
version = "${major}.${minor}";
src = fetchFromGitHub { name = "libhttpseverywhere-${version}";
owner = "grindhold";
repo = "libhttpseverywhere"; src = fetchurl {
rev = "${version}"; url = "mirror://gnome/sources/libhttpseverywhere/${major}/libhttpseverywhere-${version}.tar.xz";
sha256 = "0ggg1kw5yjakqqpnmjcbcpnq5m4lhc76javh8waqv2klr5mxd2a7"; sha256 = "0ndk6yyfcd7iwwkv4rkivhd08k0x8v03gnp9dk1ms4bxb1l2i8l1";
}; };
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ]; nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
@ -33,7 +34,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "library to use HTTPSEverywhere in desktop applications"; description = "library to use HTTPSEverywhere in desktop applications";
homepage = https://github.com/grindhold/libhttpseverywhere; homepage = https://git.gnome.org/browse/libhttpseverywhere;
license = stdenv.lib.licenses.lgpl3; license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ]; maintainers = with stdenv.lib.maintainers; [ sternenseemann ];