From 7ffbbea00d06d5a3d88b9fbae11febe6c97abbc5 Mon Sep 17 00:00:00 2001 From: Rene Saavedra Date: Thu, 14 Apr 2016 09:52:51 -0500 Subject: gnu: Add uhttpmock. * gnu/packages/web.scm (uhttpmock): New variable. Signed-off-by: Leo Famulari --- gnu/packages/web.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 035c90bc95..a0e1ec9422 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016 Jelle Licht ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Rene Saavedra ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ #:use-module (guix cvs-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system perl) #:use-module (guix build-system cmake) #:use-module (guix build-system r) @@ -49,6 +51,8 @@ #:use-module (gnu packages mit-krb5) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #:use-module (gnu packages gnome) #:use-module (gnu packages icu4c) #:use-module (gnu packages lua) #:use-module (gnu packages base) @@ -3208,3 +3212,41 @@ mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you'd expect.") (license (list l:expat l:cc-by3.0)))) + +(define-public uhttpmock + (package + (name "uhttpmock") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "http://tecnocode.co.uk/downloads/uhttpmock/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0vniyx341pnnmvxmqacc49k0g7h9a9nhknfslidrqmxj5lm1ini6")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'use-empty-ssl-cert-file + (lambda _ + ;; Search for ca-certificates.crt files + ;; during the check phase. + (setenv "SSL_CERT_FILE" "/dev/null") + #t))))) + (native-inputs + `(("gobject-introspection" ,gobject-introspection) + ;; For check phase. + ("glib-networking" ,glib-networking) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("pkg-config" ,pkg-config))) + (inputs + `(("libsoup" ,libsoup))) + (home-page "https://gitlab.com/groups/uhttpmock") + (synopsis "Library for mocking web service APIs which use HTTP or HTTPS") + (description + "Uhttpmock is a project for mocking web service APIs which use HTTP or +HTTPS. It provides a library, libuhttpmock, which implements recording and +playback of HTTP request/response traces.") + (license l:lgpl2.1+))) -- cgit v1.2.3 1f3b333e6176a7879ab3742bbebb2a99f61a528'>Merge branch 'master' into stagingMarius Bakke 2019-09-27Merge branch 'master' into core-updatesMarius Bakke 2019-09-25gnu: spirv-tools: Use GIT-FILE-NAME.Tobias Geerinckx-Rice * gnu/packages/vulkan.scm (spirv-tools)[source]: Use GIT-FILE-NAME. 2019-09-25gnu: spirv-tools: Update to 2019.2.Tobias Geerinckx-Rice * gnu/packages/vulkan.scm (spirv-tools): Update to 2019.2. 2019-09-17Merge branch 'master' into core-updatesLudovic Courtès 2019-09-11gnu: glslang: Use GIT-FILE-NAME.Tobias Geerinckx-Rice * gnu/packages/vulkan.scm (glslang)[source]: Use GIT-FILE-NAME. 2019-09-11gnu: vulkan-headers: Update to 1.1.121.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.121. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-08-15gnu: vulkan-headers: Update to 1.1.119.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.119. [arguments]: Remove unnecessary phases. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-08-13Merge branch 'master' into core-updatesMarius Bakke 2019-07-25gnu: vulkan-headers: Update to 1.1.114.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.114. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-07-02gnu: spirv-tools: Remove GCC7 input.Marius Bakke * gnu/packages/vulkan.scm (spirv-tools)[native-inputs]: Remove GCC-7. [arguments]: Remove <#:phases>. 2019-07-02Merge branch 'staging' into core-updatesMarius Bakke 2019-06-26gnu: vulkan-headers: Update to 1.1.112.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.112. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-06-26gnu: vulkan-headers: Update to 1.1.108.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.108. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. [arguments]: Add 'copy-headers1 and 'copy-headers2 phases. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-06-20gnu: Replace uses of 'cmake' with 'cmake-minimal'.Marius Bakke This follows up commit 2f33a7321e5e37d37f57c229c8079cb4ffd10834 which introduced a new CMAKE-MINIMAL variant for use in package inputs. * gnu/packages/databases.scm (python-pyarrow)[native-inputs]: Replace CMAKE with CMAKE-MINIMAL. * gnu/packages/emacs-xyz.scm (emacs-scel)[native-inputs]: Likewise. * gnu/packages/firmware.scm (ath9k-htc-firmware)[native-inputs]: Likewise. * gnu/packages/games.scm (0ad, the-butterfly-effect)[native-inputs]: Likewise. * gnu/packages/gnome.scm (deja-dup)[native-inputs]: Likewise. * gnu/packages/ibus.scm (ibus-rime)[native-inputs]: Likewise. * gnu/packages/rust.scm (rust-1.19)[native-inputs]: Likewise. * gnu/packages/simulation.scm (fenics)[native-inputs]: Likewise. * gnu/packages/squirrel.scm (squirrel)[native-inputs]: Likewise. * gnu/packages/video.scm (handbrake)[native-inputs]: Likewise. * gnu/packages/virtualization.scm (xen)[native-inputs]: Likewise. * gnu/packages/vulkan.scm (shaderc)[native-inputs]: Likewise. 2019-06-13Merge branch 'master' into core-updatesLudovic Courtès 2019-06-09Merge branch 'master' into stagingMarius Bakke 2019-06-06gnu: shaderc: Update to 2019.0.Rutger Helling * gnu/packages/vulkan.scm (shaderc): Update to 2019.0. 2019-05-24Merge branch 'master' into stagingMarius Bakke 2019-05-17gnu: glslang: Update to 7.11.3214.Rutger Helling * gnu/packages/vulkan.scm (glslang): Update to 7.11.3214. 2019-05-07gnu: vulkan-headers: Update to 1.1.107.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.107. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update hash. 2019-04-23Merge branch 'master' into stagingMarius Bakke 2019-04-23gnu: spirv-headers: Update to 1.3.7.Rutger Helling * gnu/packages/vulkan.scm (spirv-headers): Update to 1.3.7. 2019-04-23gnu: glslang: Update to 7.11.3188.Rutger Helling * gnu/packages/vulkan.scm (glslang): Update to 7.11.3188. 2019-04-10gnu: vulkan-tools: Update to 1.1.106.Rutger Helling * gnu/packages/vulkan.scm (vulkan-tools): Update to 1.1.106 (by inheriting package-version vulkan-headers). 2019-04-09gnu: vulkan-headers: Update to 1.1.106.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.106. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. 2019-03-21gnu: vulkan-tools: Remove unnecessary inputs.Rutger Helling * gnu/packages/vulkan.scm (vulkan-tools)[inputs]: Remove mesa, vulkan-headers. [native-inputs]: Add vulkan-headers. 2019-03-21gnu: vulkan-loader: Remove unnecessary inputs.Rutger Helling * gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Remove -DBUILD_LAYERS=OFF. [inputs]: Remove all. [native-inputs]: Add libxrandr, vulkan-headers, wayland. 2019-03-12gnu: vulkan-headers: Update to 1.103.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.103. * gnu/packages/vulkan.scm (vulkan-loader): Adjust version. * gnu/packages/vulkan.scm (vulkan-tools): Adjust version. 2019-03-07gnu: vulkan-tools: Update to 1.1.102.Rutger Helling * gnu/packages/vulkan.scm (vulkan-tools): Update to 1.1.102. [arguments]: Remove "-DBUILD_ICD=OFF" configure flag. 2019-03-06Merge branch 'master' into stagingMarius Bakke 2019-03-06gnu: vulkan-headers: Update to 1.1.102.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.102. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update to 1.1.101. [arguments]: Add "-DBUILD_ICD=off" and "-DGLSLANG_INSTALL_DIR=" configure flags. 2019-03-06gnu: shaderc: Update to 2018.0.Rutger Helling * gnu/packages/vulkan.scm (shaderc): Update to 2018.0. 2019-03-06gnu: spirv-tools: Update to 2019.1.Rutger Helling * gnu/packages/vulkan.scm (spirv-tools): Update to 2019.1. [arguments]: Add 'fixgcc7 phase. [native-inputs]: Add gcc-7. 2019-03-06gnu: spirv-headers: Update to commit 8bea0a2.Rutger Helling * gnu/packages/vulkan.scm (spirv-headers): Update to commit 8bea0a2. 2019-03-06gnu: glslang: Update to 7.11.3113.Rutger Helling * gnu/packages/vulkan.scm (glslang): Update to 7.11.3113. 2019-02-21gnu: vulkan-headers: Update to 1.1.101.Rutger Helling * gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.101. * gnu/packages/vulkan.scm (vulkan-loader): Update hash. * gnu/packages/vulkan.scm (vulkan-tools): Update to 1.1.100.