git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19829 from sternenseemann/master
ef45c19Tim Steinbach
pkgs/development/libraries/libhttpseverywhere/default.nix+6−4
@@ -2,20 +2,18 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libhttpseverywhere-${version}";
4 name = "libhttpseverywhere-${version}";
5− version = "0.1.0";
5+ version = "0.2.0";
6
6
7 src = fetchFromGitHub {
7 src = fetchFromGitHub {
8 owner = "grindhold";
8 owner = "grindhold";
9 repo = "libhttpseverywhere";
9 repo = "libhttpseverywhere";
10 rev = "${version}";
10 rev = "${version}";
11− sha256 = "1b8bcg4jp2h3nwk1g7jgswsipqzkjq2gb017v07wb7nvl6kdi0rc";
11+ sha256 = "06yljz7xxh9v48awgmzma6avrnzs2kqh1ydd2hx4b1x2vgf8nfbb";
12 };
12 };
13
13
14 nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
14 nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
15 buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
15 buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
16
16
17− patches = [ ./meson.patch ];
18−
19 configurePhase = ''
17 configurePhase = ''
20 mkdir build
18 mkdir build
21 cd build
19 cd build
@@ -29,6 +27,10 @@ stdenv.mkDerivation rec {
29
27
30 installPhase = "ninja install";
28 installPhase = "ninja install";
31
29
30+ doCheck = true;
31+
32+ checkPhase = "./httpseverywhere_test";
33+
32 meta = {
34 meta = {
33 description = "library to use HTTPSEverywhere in desktop applications";
35 description = "library to use HTTPSEverywhere in desktop applications";
34 homepage = https://github.com/grindhold/libhttpseverywhere;
36 homepage = https://github.com/grindhold/libhttpseverywhere;
pkgs/development/libraries/libhttpseverywhere/meson.patchdeleted−13
@@ -1,13 +0,0 @@
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−