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

35 lines
1 KiB
Nix
Raw Normal View History

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