2017-12-29 12:49:56 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, meson, ninja, valadoc
|
|
|
|
, gnome3, glib, json_glib, libarchive, libsoup, gobjectIntrospection }:
|
2016-10-10 19:39:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-12-29 12:49:56 +00:00
|
|
|
major = "0.6";
|
2017-06-20 06:28:34 +01:00
|
|
|
minor = "5";
|
2016-10-29 19:47:37 +01:00
|
|
|
version = "${major}.${minor}";
|
|
|
|
|
2016-10-10 19:39:10 +01:00
|
|
|
name = "libhttpseverywhere-${version}";
|
|
|
|
|
2016-10-29 19:47:37 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/libhttpseverywhere/${major}/libhttpseverywhere-${version}.tar.xz";
|
2017-12-29 12:49:56 +00:00
|
|
|
sha256 = "0ksf6vqjyjii29dvy5147dmgqlqsq4d70xxai0p2prkx4jrwgj3z";
|
2016-10-10 19:39:10 +01:00
|
|
|
};
|
|
|
|
|
2017-12-29 12:49:56 +00:00
|
|
|
nativeBuildInputs = [ gnome3.vala gobjectIntrospection meson ninja pkgconfig valadoc ];
|
|
|
|
buildInputs = [ glib gnome3.libgee json_glib libsoup libarchive ];
|
|
|
|
|
|
|
|
mesonFlags = "-Denable_valadoc=true";
|
2016-10-10 19:39:10 +01:00
|
|
|
|
2016-10-24 16:13:16 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkPhase = "./httpseverywhere_test";
|
|
|
|
|
2017-12-29 12:49:56 +00:00
|
|
|
outputs = [ "out" "devdoc" ];
|
|
|
|
|
2016-10-10 19:39:10 +01:00
|
|
|
meta = {
|
|
|
|
description = "library to use HTTPSEverywhere in desktop applications";
|
2016-10-29 19:47:37 +01:00
|
|
|
homepage = https://git.gnome.org/browse/libhttpseverywhere;
|
2016-10-10 19:39:10 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|