all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs irony-mode
@ 2018-08-12 18:53 Tim Gesthuizen
  2018-08-13 10:30 ` Pierre Neidhardt
  2018-08-13 19:23 ` fis trivial
  0 siblings, 2 replies; 9+ messages in thread
From: Tim Gesthuizen @ 2018-08-12 18:53 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

Hi,

I am trying to package irony-mode for emacs and quickly

noticed that I need more input on how packages like this should

be seperated or handled.

Maybe somebody wants to take my approach and integrate the

package definition(s) into guix or provide some information

towards how such packages should be integrated.

You find the script with my package definition attached.

Mentioning packages with similar problems would also be helpful.


Best regards,

Tim Gesthuizen


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: irony-mode.scm --]
[-- Type: text/x-scheme; name="irony-mode.scm", Size: 2210 bytes --]

(define-module (irony-mode)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build utils)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system emacs)
  #:use-module (guix build-system cmake)
  #:use-module (gnu packages)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages llvm))

(define irony-mode-version "1.2.0")
(define irony-mode-url
  (string-append "https://github.com/Sarcasm/irony-mode/archive/v"
		 irony-mode-version ".tar.gz"))
(define irony-mode-base
	     (base32 "1f68zi0glkg2aly66s07rx3w0b0hdi1znxan02h6dbabaadylk99"))
  
(define-public emacs-irony-mode
  (package
   (name "emacs-irony-mode")
   (version irony-mode-version)
   (source (origin
	    (method url-fetch)
	    (uri irony-mode-url)
	    (sha256 irony-mode-base)
	    (modules '((guix build utils)))
	    (snippet '(begin
			(for-each delete-file-recursively
				  '("server/src" "server/docs"
				    "server/cmake" "server/build-aux"
				    "screenshots"))))))
   (build-system emacs-build-system)
   (arguments '())
   (propagated-inputs
    `(("emacs-irony-mode-server" ,emacs-irony-mode-server)))
   (home-page "https://github.com/Sarcasm/irony-mode")
   (synopsis "Clang autocompletion and syntax checking integration for GNU Emacs")
   (description "Guten Tag")
   (license license:gpl3)))

(define-public emacs-irony-mode-server
  (package
   (name "emacs-irony-mode-server")
   (version irony-mode-version)
   (source (origin
	    (method url-fetch)
	    (uri irony-mode-url)
	    (sha256 irony-mode-base)))
   (propagated-inputs
    `(("clang" ,clang)))
   (arguments
    `(#:phases
    (modify-phases %standard-phases
		   (replace 'configure
			    (lambda* (#:key outputs #:allow-other-keys)
			      (let ((out (assoc-ref outputs "out")))
				(invoke "cmake"
					"server"
					(string-append "-DCMAKE_INSTALL_PREFIX=" out))))))))
   (build-system cmake-build-system)
   (home-page "https://github.com/Sarcasm/irony-mode")
   (synopsis "Clang autocompletion and syntax checking integration for GNU Emacs")
   (description "*TODO*")
   (license license:gpl3)))







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-08-13 20:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-12 18:53 emacs irony-mode Tim Gesthuizen
2018-08-13 10:30 ` Pierre Neidhardt
2018-08-13 18:04   ` Tim Gesthuizen
2018-08-13 18:11     ` Pierre Neidhardt
2018-08-13 18:55       ` Tim Gesthuizen
2018-08-13 19:23 ` fis trivial
2018-08-13 19:48   ` Tim Gesthuizen
2018-08-13 19:53     ` Pierre Neidhardt
2018-08-13 20:11       ` Tim Gesthuizen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.