unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29459] [PATCH] gnu: Add vim-fugitive.
@ 2017-11-26 19:31 Efraim Flashner
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Efraim Flashner @ 2017-11-26 19:31 UTC (permalink / raw)
  To: 29459

* gnu/packages/vim.scm (vim-fugitive): New variable.
---
 gnu/packages/vim.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 0163662d1..63fa98a13 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -440,6 +440,45 @@ trouble using them, because you do not have to remember each snippet name.")
       (home-page "https://github.com/Shougo/context_filetype.vim")
       (license license:expat)))) ; ??? check again
 
+(define-public vim-fugitive
+  (let ((commit "de6c05720cdf74c0218218d7207f700232a5b6dc")
+        (revision "1"))
+    (package
+      (name "vim-fugitive")
+      (version (string-append "2.2-" revision "." (string-take commit 7)))
+      (source
+        (origin
+          (method git-fetch)
+          (uri (git-reference
+                 (url "https://github.com/tpope/vim-fugitive.git")
+                 (commit commit)))
+          (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "0zg9vv7hirnx45vc2mwgg0xijmwwz55bssyd6cpdz71wbhrcpxxb"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (delete 'build)
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (assoc-ref outputs "out"))
+                      (vimfiles (string-append out "/share/vim/vimfiles"))
+                      (doc (string-append vimfiles "/doc"))
+                      (plugin (string-append vimfiles "/plugin")))
+                 (copy-recursively "doc" doc)
+                 (copy-recursively "plugin" plugin)
+                 #t))))))
+      (home-page "https://github.com/tpope/vim-fugitive")
+      (synopsis "Vim plugin to work with Git")
+      (description "Vim-fugitive is a wrapper for Vim that complements the
+command window, where you can stage and review your changes before the next
+commit or run any Git arbitrary command.")
+      (license license:vim)))) ; distributed under the same license as vim
+
 (define-public vim-airline
   (package
     (name "vim-airline")
-- 
2.15.0

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

* [bug#29460] [PATCH] gnu: Add gama.
  2017-11-26 19:31 [bug#29459] [PATCH] gnu: Add vim-fugitive Efraim Flashner
@ 2017-11-26 19:31 ` Efraim Flashner
  2017-11-26 19:46   ` Jonathan Brielmaier
                     ` (2 more replies)
  2017-11-27 14:02 ` [bug#29459] [PATCH] gnu: Add vim-fugitive Ludovic Courtès
  2017-11-28  7:30 ` bug#29459: " Efraim Flashner
  2 siblings, 3 replies; 7+ messages in thread
From: Efraim Flashner @ 2017-11-26 19:31 UTC (permalink / raw)
  To: 29460

* gnu/packages/gps.scm (gama): New variable.
---
 gnu/packages/gps.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm
index 10592c23e..cf3a8840e 100644
--- a/gnu/packages/gps.scm
+++ b/gnu/packages/gps.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
-;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -26,6 +26,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages databases)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages image)
   #:use-module (gnu packages xml)
@@ -131,3 +132,31 @@ the photo was taken.  It does this by using the timestamp in the photo and
 finding a data point in the GPS track that matches, or interpolating a point
 between two other data points.")
       (license license:gpl2+))))
+
+(define-public gama
+  (package
+    (name "gama")
+    (version "1.21")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://gnu/gama/gama-"
+                            version ".tar.gz"))
+        (sha256
+         (base32
+          "0yy8czw5dldbw1qj5v2h2wfh397bfx5wd3lrrgs8m1qdf1njnhcq"))))
+    (build-system gnu-build-system)
+    (arguments '(#:parallel-tests? #f)) ; race condition
+    (native-inputs
+     `(("libxml2" ,libxml2)))
+    (inputs
+     `(("expat" ,expat)
+       ("sqlite" ,sqlite)))
+    (home-page "https://www.gnu.org/software/gama/manual/")
+    (synopsis "Adjustment of geodetic networks")
+    (description
+     "GNU Gama is a program for the adjustment of geodetic networks.  It is
+useful in measurements where Global Positioning System (GPS) is not available,
+such as underground.  It features the ability to adjust in local Cartesian
+coordinates as well as partial support for adjustments in global coordinate systems.")
+    (license license:gpl3+)))
-- 
2.15.0

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

* [bug#29460] [PATCH] gnu: Add gama.
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
@ 2017-11-26 19:46   ` Jonathan Brielmaier
  2017-11-27 14:03   ` Ludovic Courtès
  2017-11-27 20:37   ` bug#29460: " Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Jonathan Brielmaier @ 2017-11-26 19:46 UTC (permalink / raw)
  To: 29460

Am 26.11.2017 um 20:31 schrieb Efraim Flashner:

> +    (home-page "https://www.gnu.org/software/gama/manual/")

I think the homepage is without "manual" :)

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

* [bug#29459] [PATCH] gnu: Add vim-fugitive.
  2017-11-26 19:31 [bug#29459] [PATCH] gnu: Add vim-fugitive Efraim Flashner
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
@ 2017-11-27 14:02 ` Ludovic Courtès
  2017-11-28  7:30 ` bug#29459: " Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-11-27 14:02 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 29459

Hello,

Efraim Flashner <efraim@flashner.co.il> skribis:

> * gnu/packages/vim.scm (vim-fugitive): New variable.

[...]

> +(define-public vim-fugitive
> +  (let ((commit "de6c05720cdf74c0218218d7207f700232a5b6dc")
> +        (revision "1"))
> +    (package
> +      (name "vim-fugitive")
> +      (version (string-append "2.2-" revision "." (string-take commit 7)))

Do we really need to use a snapshot?  If so, please add a comment to
explain.

Otherwise LGTM.

Thanks,
Ludo’.

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

* [bug#29460] [PATCH] gnu: Add gama.
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
  2017-11-26 19:46   ` Jonathan Brielmaier
@ 2017-11-27 14:03   ` Ludovic Courtès
  2017-11-27 20:37   ` bug#29460: " Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-11-27 14:03 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 29460

Efraim Flashner <efraim@flashner.co.il> skribis:

> * gnu/packages/gps.scm (gama): New variable.

Apart from the home page as Jonathan commented, it LGTM.  :-)

Thanks,
Ludo’.

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

* bug#29460: [PATCH] gnu: Add gama.
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
  2017-11-26 19:46   ` Jonathan Brielmaier
  2017-11-27 14:03   ` Ludovic Courtès
@ 2017-11-27 20:37   ` Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2017-11-27 20:37 UTC (permalink / raw)
  To: 29460-done

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

I guess that's what happens when I trust the GNU importer and the linter
but not double-check the home-page myself.

pushed with the fix :)

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#29459: [PATCH] gnu: Add vim-fugitive.
  2017-11-26 19:31 [bug#29459] [PATCH] gnu: Add vim-fugitive Efraim Flashner
  2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
  2017-11-27 14:02 ` [bug#29459] [PATCH] gnu: Add vim-fugitive Ludovic Courtès
@ 2017-11-28  7:30 ` Efraim Flashner
  2 siblings, 0 replies; 7+ messages in thread
From: Efraim Flashner @ 2017-11-28  7:30 UTC (permalink / raw)
  To: 29459-done

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

I added a comment about no more planned releases

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2017-11-28  7:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-26 19:31 [bug#29459] [PATCH] gnu: Add vim-fugitive Efraim Flashner
2017-11-26 19:31 ` [bug#29460] [PATCH] gnu: Add gama Efraim Flashner
2017-11-26 19:46   ` Jonathan Brielmaier
2017-11-27 14:03   ` Ludovic Courtès
2017-11-27 20:37   ` bug#29460: " Efraim Flashner
2017-11-27 14:02 ` [bug#29459] [PATCH] gnu: Add vim-fugitive Ludovic Courtès
2017-11-28  7:30 ` bug#29459: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).