Ledger Nano X - The secure hardware wallet
SHARE
TWEET

nvi.scm [doesn't built just yet]

merkur32123 Sep 1st, 2014 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2014 Marek Benc <merkur32@gmail.com>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
  18.  
  19. (define-module (gnu packages nvi)
  20.   #:use-module (gnu packages)
  21.   #:use-module (gnu packages bdb)
  22.   #:use-module (gnu packages ncurses)
  23.   #:use-module (guix packages)
  24.   #:use-module (guix download)
  25.   #:use-module (guix build-system gnu)
  26.   #:use-module (guix licenses))
  27.  
  28. (define-public nvi
  29.   (package
  30.     (name "nvi")
  31.     (version "1.81.6")
  32.     (source
  33.       (origin
  34.         (method url-fetch)
  35.         (uri
  36.           (string-append "http://harrier.slackbuilds.org/misc/nvi-" version
  37.                          ".tar.bz2"))
  38.         (sha256
  39.           (base32 "0nbbs1inyrqds0ywn3ln5slv54v5zraq7lszkg8nsavv4kivhh9l"))
  40.         (snippet
  41.           ;; Create a wrapper for the configure script, make it executable.
  42.           '(let ((conf-wrap (open-output-file "configure")))
  43.              (display "#!/bin/sh" conf-wrap)          
  44.              (newline conf-wrap)
  45.              (display
  46.                "../nvi-1.81.6/dist/configure --srcdir=../nvi-1.81.6/dist $@"
  47.                conf-wrap)      
  48.              (newline conf-wrap)
  49.              (close-output-port conf-wrap)
  50.              (chmod "configure" #o0755)))))
  51.  
  52.     (build-system gnu-build-system)
  53.     (arguments
  54.       `(#:out-of-source? '(#t)))
  55.     (inputs
  56.       `(("bdb" ,bdb)
  57.         ("ncurses" ,ncurses)))
  58.     (synopsis "The Berkeley Vi Editor")
  59.     (description
  60.       "Vi is the original screen based text editor for Unix systems.  It is
  61. considered the standard text editor, and is available on almost all Unix
  62. systems.  Nvi is intended as a \"bug-for-bug compatible\" clone of the original
  63. BSD vi editor.  As such, it doesn't have a lot of snazzy features as do some
  64. of the other vi clones such as elvis and vim.  However, if all you want is vi,
  65. this is the one to get.")
  66.     (home-page "https://sites.google.com/a/bostic.com/keithbostic/vi")
  67.     (license bsd-3)))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top