nixpkgs/pkgs/development/libraries/libhttpseverywhere/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

2017-12-29 12:49:56 +00:00
{ stdenv, fetchurl, pkgconfig, meson, ninja, valadoc
, gnome3, glib, json_glib, libarchive, libsoup, gobjectIntrospection }:
2016-10-10 18:39:10 +00:00
stdenv.mkDerivation rec {
2017-12-29 12:49:56 +00:00
major = "0.6";
2017-06-20 05:28:34 +00:00
minor = "5";
version = "${major}.${minor}";
2016-10-10 18:39:10 +00:00
name = "libhttpseverywhere-${version}";
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 18:39:10 +00: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 18:39:10 +00:00
2016-10-24 15:13:16 +00:00
doCheck = true;
checkPhase = "./httpseverywhere_test";
2017-12-29 12:49:56 +00:00
outputs = [ "out" "devdoc" ];
2016-10-10 18:39:10 +00:00
meta = {
description = "library to use HTTPSEverywhere in desktop applications";
homepage = https://git.gnome.org/browse/libhttpseverywhere;
2016-10-10 18:39:10 +00:00
license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
};
}