all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26670: [PATCH] gnu: Add mdbtools.
@ 2017-04-26 16:41 Arun Isaac
  2017-04-26 21:47 ` Kei Kebreau
  0 siblings, 1 reply; 3+ messages in thread
From: Arun Isaac @ 2017-04-26 16:41 UTC (permalink / raw)
  To: 26670

* gnu/packages/databases.scm (mdbtools): New variable.
---
 gnu/packages/databases.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e32bcfa66..bed8719d9 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
+;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -52,6 +53,7 @@
   #:use-module (gnu packages jemalloc)
   #:use-module (gnu packages language)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages man)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages parallel)
   #:use-module (gnu packages pcre)
@@ -1469,3 +1471,42 @@ for ODBC.")
 
 (define-public python2-pyodbc-c
   (package-with-python2 python-pyodbc-c))
+
+(define-public mdbtools
+  (package
+    (name "mdbtools")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/brianb/mdbtools/archive/"
+                           version ".tar.gz"))
+       (sha256
+        (base32
+         "05hbmxcq173kzb899gdi3bz2qcc1vi3n1qbbkwpsvrq7ggf11wyw"))
+       (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("glib" ,glib)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)
+       ("txt2man" ,txt2man)
+       ("which" ,which)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'autoreconf
+           (lambda _
+             (zero? (system* "autoreconf" "-vfi")))))))
+    (home-page "https://github.com/mkleehammer/pyodbc")
+    (synopsis "Read Microsoft Access databases")
+    (description "MDB Tools is a set of tools and applications to read the
+proprietary MDB file format used in Microsoft's Access database package.  This
+includes programs to export schema and data from Microsoft's Access database
+file format to other databases such as MySQL, Oracle, Sybase, PostgreSQL,
+etc., and an SQL engine for performing simple SQL queries.")
+    (license (list license:lgpl2.0
+                   license:gpl2+))))
-- 
2.12.2

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

* bug#26670: [PATCH] gnu: Add mdbtools.
  2017-04-26 16:41 bug#26670: [PATCH] gnu: Add mdbtools Arun Isaac
@ 2017-04-26 21:47 ` Kei Kebreau
  2017-04-27  4:48   ` Arun Isaac
  0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2017-04-26 21:47 UTC (permalink / raw)
  To: Arun Isaac; +Cc: 26670

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

Arun Isaac <arunisaac@systemreboot.net> writes:

> * gnu/packages/databases.scm (mdbtools): New variable.
> ---
>  gnu/packages/databases.scm | 41 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
> index e32bcfa66..bed8719d9 100644
> --- a/gnu/packages/databases.scm
> +++ b/gnu/packages/databases.scm
> @@ -15,6 +15,7 @@
>  ;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
>  ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
>  ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
> +;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -52,6 +53,7 @@
>    #:use-module (gnu packages jemalloc)
>    #:use-module (gnu packages language)
>    #:use-module (gnu packages linux)
> +  #:use-module (gnu packages man)
>    #:use-module (gnu packages ncurses)
>    #:use-module (gnu packages parallel)
>    #:use-module (gnu packages pcre)
> @@ -1469,3 +1471,42 @@ for ODBC.")
>  
>  (define-public python2-pyodbc-c
>    (package-with-python2 python-pyodbc-c))
> +
> +(define-public mdbtools
> +  (package
> +    (name "mdbtools")
> +    (version "0.7.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://github.com/brianb/mdbtools/archive/"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "05hbmxcq173kzb899gdi3bz2qcc1vi3n1qbbkwpsvrq7ggf11wyw"))
> +       (file-name (string-append name "-" version ".tar.gz"))))
> +    (build-system gnu-build-system)
> +    (inputs
> +     `(("glib" ,glib)))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)
> +       ("automake" ,automake)
> +       ("libtool" ,libtool)
> +       ("pkg-config" ,pkg-config)
> +       ("txt2man" ,txt2man)
> +       ("which" ,which)))
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-before 'configure 'autoreconf
> +           (lambda _
> +             (zero? (system* "autoreconf" "-vfi")))))))
> +    (home-page "https://github.com/mkleehammer/pyodbc")

I'm sure you meant to put https://github.com/brianb/mdbtools as the homepage?

> +    (synopsis "Read Microsoft Access databases")
> +    (description "MDB Tools is a set of tools and applications to read the
> +proprietary MDB file format used in Microsoft's Access database package.  This
> +includes programs to export schema and data from Microsoft's Access database
> +file format to other databases such as MySQL, Oracle, Sybase, PostgreSQL,
> +etc., and an SQL engine for performing simple SQL queries.")
> +    (license (list license:lgpl2.0
> +                   license:gpl2+))))

Also be sure to fix up the commit message so it doesn't have the bug
number and such things in it. Otherwise LGTM.

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

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

* bug#26670: [PATCH] gnu: Add mdbtools.
  2017-04-26 21:47 ` Kei Kebreau
@ 2017-04-27  4:48   ` Arun Isaac
  0 siblings, 0 replies; 3+ messages in thread
From: Arun Isaac @ 2017-04-27  4:48 UTC (permalink / raw)
  To: 26670-done


Pushed with changes!

>> +    (home-page "https://github.com/mkleehammer/pyodbc")
>
> I'm sure you meant to put https://github.com/brianb/mdbtools as the homepage?

Oh, I copied the package definition from pyodbc and was editing it to
make it mdbtools. Forgot to change the home-page! :-P Thanks for
spotting it!

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

end of thread, other threads:[~2017-04-27  4:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-26 16:41 bug#26670: [PATCH] gnu: Add mdbtools Arun Isaac
2017-04-26 21:47 ` Kei Kebreau
2017-04-27  4:48   ` Arun Isaac

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.