git.iko.soy/typeable/nixpkgs
on master help sign in
libhttpseverywhere: init at 0.1.0
commit3229de5eb557fa71c5ebf0f3c933c7aa36368a70 authorsternenseemann <git@lukasepple.de> dateMon 10 Oct 2016, 20:39 (10 years ago) parentda9c6a7
3 files changed+51
pkgs/development/libraries/libhttpseverywhere/default.nix+36 pkgs/development/libraries/libhttpseverywhere/meson.patch+13 pkgs/top-level/all-packages.nix+2
pkgs/development/libraries/libhttpseverywhere/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{stdenv, fetchFromGitHub, gnome3, glib, json_glib, libxml2, libarchive, libsoup, gobjectIntrospection, meson, ninja, pkgconfig, valadoc}:
2+
3+stdenv.mkDerivation rec {
4+ name = "libhttpseverywhere-${version}";
5+ version = "0.1.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "grindhold";
9+ repo = "libhttpseverywhere";
10+ rev = "${version}";
11+ sha256 = "1b8bcg4jp2h3nwk1g7jgswsipqzkjq2gb017v07wb7nvl6kdi0rc";
12+ };
13+
14+ nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
15+ buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
16+
17+ patches = [ ./meson.patch ];
18+
19+ configurePhase = ''
20+ mkdir build
21+ cd build
22+ meson.py --prefix "$out" ..
23+ '';
24+
25+ buildPhase = "ninja";
26+
27+ installPhase = "ninja install";
28+
29+ meta = {
30+ description = "library to use HTTPSEverywhere in desktop applications";
31+ homepage = https://github.com/grindhold/libhttpseverywhere;
32+ license = stdenv.lib.licenses.lgpl3;
33+ platforms = stdenv.lib.platforms.linux;
34+ maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
35+ };
36+}
pkgs/development/libraries/libhttpseverywhere/meson.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/meson.build b/meson.build
2+index c20c2f9..f40bb2b 100644
3+--- a/meson.build
4++++ b/meson.build
5+@@ -19,7 +19,7 @@
6+ # If not, see http://www.gnu.org/licenses/.
7+ #*********************************************************************
8+
9+-project ('httpseverywhere', ['vala','c'])
10++project ('httpseverywhere', 'vala','c')
11+
12+ pkgconfig = import('pkgconfig')
13+
pkgs/top-level/all-packages.nix+2
@@ -7764,6 +7764,8 @@ in
77647764
77657765 libhif = callPackage ../tools/package-management/libhif { sphinx = python27Packages.sphinx; };
77667766
7767+ libhttpseverywhere = callPackage ../development/libraries/libhttpseverywhere { };
7768+
77677769 libHX = callPackage ../development/libraries/libHX { };
77687770
77697771 libibmad = callPackage ../development/libraries/libibmad { };