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 {
name = "libhttpseverywhere-${version}";
version = "0.2.3";
major = "0.2";
minor = "3";
version = "${major}.${minor}";
src = fetchFromGitHub {
owner = "grindhold";
repo = "libhttpseverywhere";
rev = "${version}";
sha256 = "0ggg1kw5yjakqqpnmjcbcpnq5m4lhc76javh8waqv2klr5mxd2a7";
name = "libhttpseverywhere-${version}";
src = fetchurl {
url = "mirror://gnome/sources/libhttpseverywhere/${major}/libhttpseverywhere-${version}.tar.xz";
sha256 = "0ndk6yyfcd7iwwkv4rkivhd08k0x8v03gnp9dk1ms4bxb1l2i8l1";
};
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
@ -33,7 +34,7 @@ stdenv.mkDerivation rec {
meta = {
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;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];