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

30 lines
1,012 B
Nix
Raw Normal View History

{stdenv, fetchurl, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}:
2016-10-10 18:39:10 +00:00
stdenv.mkDerivation rec {
2017-04-27 11:16:18 +00:00
major = "0.4";
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-06-20 05:28:34 +00:00
sha256 = "07sgcw285rl9wqr5k7srs3fj7fhgrrw6w780jx8wy8jw2bfwlvj2";
2016-10-10 18:39:10 +00:00
};
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
2016-10-24 15:13:16 +00:00
doCheck = true;
checkPhase = "./httpseverywhere_test";
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 ];
};
}