;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019 Ricardo Wurmus ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Brett Gilio ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages rpc) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix pack
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2023-10-19 02:29:02 +0100
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-10-22 22:17:29 -0400
commit6272d5f7be69fc063a817fb7ac29b4a0a368d9e6 (patch)
tree9194f40a66700c9324418d526ab05bf086dee710 /gnu/packages
parent981f0fee040fb9bfa4475f5a16fafd30f522196f (diff)
downloadguix-6272d5f7be69fc063a817fb7ac29b4a0a368d9e6.tar.gz
guix-6272d5f7be69fc063a817fb7ac29b4a0a368d9e6.zip
gnu: go-github-com-tdewolff-test: Move to (gnu packages golang-check).
* gnu/packages/golang-check.scm (go-github-com-tdewolff-test): Move from here... * gnu/packages/golang.scm: ... to here. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Diffstat (limited to 'gnu/packages')
;; Note: This would be nicer as a snippet, but that creates a tarball ;; instead of a checkout and breaks assumptions made by the builder. (add-after 'unpack 'rename-gettid (lambda _ ;; Rename custom gettid() syscall wrapper to avoid conflict ;; with gettid() from glibc 2.30. (substitute* '("src/core/lib/gpr/log_linux.cc" "src/core/lib/gpr/log_posix.cc" "src/core/lib/iomgr/ev_epollex_linux.cc") (("gettid\\(") "sys_gettid(")) #t)))))))) (define-public python-grpcio (package (name "python-grpcio") (version "1.27.2") (source (origin (method url-fetch) (uri (pypi-uri "grpcio" version)) (sha256 (base32 "0zl89jwcff9hkd8mi4yf3qbhns9vbv1s4x4vahm5mkpr7jwk5ras")) (modules '((guix build utils) (ice-9 ftw))) (snippet '(begin (with-directory-excursion "third_party" ;; Delete the bundled source code of libraries that are possible ;; to provide as inputs. (for-each delete-file-recursively (scandir "." (lambda (file) (not (member file '("." ".." "abseil-cpp" "address_sorting" "upb"))))))) #t)))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (add-before 'build 'use-system-libraries (lambda _ (setenv "GRPC_PYTHON_BUILD_SYSTEM_CARES" "1") (setenv "GRPC_PYTHON_BUILD_SYSTEM_OPENSSL" "1") (setenv "GRPC_PYTHON_BUILD_SYSTEM_ZLIB" "1") #t)) (add-before 'build 'configure-compiler (lambda _ (substitute* '("setup.py" "src/python/grpcio/commands.py") (("'cc'") "'gcc'")) #t))))) (inputs `(("c-ares" ,c-ares) ("openssl" ,openssl) ("zlib" ,zlib))) (propagated-inputs `(("python-six" ,python-six))) (home-page "https://grpc.io") (synopsis "HTTP/2-based RPC framework") (description "This package provides a Python library for communicating with the HTTP/2-based RPC framework gRPC.") (license license:asl2.0))) (define-public apache-thrift (package (name "apache-thrift") (version "0.13.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/apache/thrift") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "17ckl7p7s3ga33yrjisilsimp80ansqxl54wvpkv0j7vx2zvc13y")))) (build-system gnu-build-system) (arguments '(#:tests? #f #:configure-flags (list (string-append "--with-boost=" (assoc-ref %build-inputs "boost"))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config) ("flex" ,flex) ("bison" ,bison))) (inputs `(("boost" ,boost) ("libressl" ,libressl))) (outputs '("out" "lib" "include")) (home-page "https://thrift.apache.org/") (synopsis "Lightweight, language-independent software stack for point-to-point RPC") (description "Thrift provides clean abstractions and implementations for data transport, data serialization, and application level processing. The code generation system takes a simple definition language as input and generates code across programming languages that uses the abstracted stack to build interoperable RPC clients and servers.") (license license:asl2.0)))