1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Merge pull request #19432 from sternenseemann/libhttpseverywhere

libhttpseverywhere: init at 0.1.0
This commit is contained in:
Graham Christensen 2016-10-11 14:15:31 -04:00 committed by GitHub
commit 945da0166c
3 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{stdenv, fetchFromGitHub, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}:
stdenv.mkDerivation rec {
name = "libhttpseverywhere-${version}";
version = "0.1.0";
src = fetchFromGitHub {
owner = "grindhold";
repo = "libhttpseverywhere";
rev = "${version}";
sha256 = "1b8bcg4jp2h3nwk1g7jgswsipqzkjq2gb017v07wb7nvl6kdi0rc";
};
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
patches = [ ./meson.patch ];
configurePhase = ''
mkdir build
cd build
meson.py --prefix "$out" ..
'';
buildPhase = "ninja";
installPhase = "ninja install";
meta = {
description = "library to use HTTPSEverywhere in desktop applications";
homepage = https://github.com/grindhold/libhttpseverywhere;
license = stdenv.lib.licenses.lgpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
};
}

View file

@ -0,0 +1,13 @@
diff --git a/meson.build b/meson.build
index c20c2f9..f40bb2b 100644
--- a/meson.build
+++ b/meson.build
@@ -19,7 +19,7 @@
# If not, see http://www.gnu.org/licenses/.
#*********************************************************************
-project ('httpseverywhere', ['vala','c'])
+project ('httpseverywhere', 'vala','c')
pkgconfig = import('pkgconfig')

View file

@ -7767,6 +7767,8 @@ in
libhif = callPackage ../tools/package-management/libhif { sphinx = python27Packages.sphinx; };
libhttpseverywhere = callPackage ../development/libraries/libhttpseverywhere { };
libHX = callPackage ../development/libraries/libHX { };
libibmad = callPackage ../development/libraries/libibmad { };