Merge pull request #19829 from sternenseemann/master
libhttpseverywhere: 0.1.0 -> 0.2.0
This commit is contained in:
commit
ef45c1928a
@ -2,20 +2,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libhttpseverywhere-${version}";
|
name = "libhttpseverywhere-${version}";
|
||||||
version = "0.1.0";
|
version = "0.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grindhold";
|
owner = "grindhold";
|
||||||
repo = "libhttpseverywhere";
|
repo = "libhttpseverywhere";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "1b8bcg4jp2h3nwk1g7jgswsipqzkjq2gb017v07wb7nvl6kdi0rc";
|
sha256 = "06yljz7xxh9v48awgmzma6avrnzs2kqh1ydd2hx4b1x2vgf8nfbb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
|
nativeBuildInputs = [ gnome3.vala valadoc gobjectIntrospection meson ninja pkgconfig ];
|
||||||
buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
|
buildInputs = [ glib gnome3.libgee libxml2 json_glib libsoup libarchive ];
|
||||||
|
|
||||||
patches = [ ./meson.patch ];
|
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -29,6 +27,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = "ninja install";
|
installPhase = "ninja install";
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
checkPhase = "./httpseverywhere_test";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "library to use HTTPSEverywhere in desktop applications";
|
description = "library to use HTTPSEverywhere in desktop applications";
|
||||||
homepage = https://github.com/grindhold/libhttpseverywhere;
|
homepage = https://github.com/grindhold/libhttpseverywhere;
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
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')
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user