tor.scm 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ;;; packages - package definitions for GNU Guix
  2. ;;; Copyright (C) 2016, 2017 ng0
  3. ;;;
  4. ;;; This program is free software: you can redistribute it and/or modify
  5. ;;; it under the terms of the GNU Affero General Public License as
  6. ;;; published by the Free Software Foundation, either version 3 of the
  7. ;;; License, or (at your option) any later version.
  8. ;;;
  9. ;;; This program is distributed in the hope that it will be useful,
  10. ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;;; GNU Affero General Public License for more details.
  13. ;;;
  14. ;;; You should have received a copy of the GNU Affero General Public License
  15. ;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. (define-module (ng0 packages tor)
  17. #:use-module (guix packages)
  18. #:use-module ((guix licenses) #:prefix license:)
  19. #:use-module (guix download)
  20. #:use-module (guix build-system gnu)
  21. #:use-module (gnu packages libevent)
  22. #:use-module (gnu packages compression)
  23. #:use-module (gnu packages tor)
  24. #:use-module (gnu packages tls))
  25. ;;; This is tor built against LibreSSL instead of OpenSSL.
  26. (define-public tor-libressl
  27. (package
  28. (inherit tor)
  29. (name "tor-libressl")
  30. (inputs
  31. `(("zlib" ,zlib)
  32. ("libressl" ,libressl)
  33. ("libevent" ,libevent)))))