mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add nanodbc.
* gnu/packages/databases.scm (nanodbc): New variable.
This commit is contained in:
parent
3313f61e18
commit
2be32ecc74
1 changed files with 30 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
;;; Copyright © 2017, 2018 Ben Woodcroft <donttrustben@gmail.com>
|
;;; Copyright © 2017, 2018 Ben Woodcroft <donttrustben@gmail.com>
|
||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
||||||
;;; Copyright © 2017, 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
;;; Copyright © 2017, 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2017, 2018, 2019, 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington@gmail.com>
|
;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington@gmail.com>
|
||||||
;;; Copyright © 2018 Amirouche Boubekki <amirouche@hypermove.net>
|
;;; Copyright © 2018 Amirouche Boubekki <amirouche@hypermove.net>
|
||||||
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
||||||
|
@ -2073,6 +2073,35 @@ Driver.")
|
||||||
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
|
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
|
||||||
(home-page "http://www.unixodbc.org")))
|
(home-page "http://www.unixodbc.org")))
|
||||||
|
|
||||||
|
(define-public nanodbc
|
||||||
|
(package
|
||||||
|
(name "nanodbc")
|
||||||
|
(version "2.13.0")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri
|
||||||
|
(git-reference
|
||||||
|
(url "https://github.com/nanodbc/nanodbc")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1q80p7yv9mcl4hyvnvcjdr70y8nc940ypf368lp97vpqn5yckkgm"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags
|
||||||
|
;; The tests require ODBC backends to be installed.
|
||||||
|
(list "-DNANODBC_DISABLE_TESTS=ON")
|
||||||
|
#:tests? #false))
|
||||||
|
(inputs
|
||||||
|
`(("unixodbc" ,unixodbc)))
|
||||||
|
(home-page "https://nanodbc.io/")
|
||||||
|
(synopsis "C++ wrapper for the native C ODBC API")
|
||||||
|
(description "The goal for nanodbc is to make developers happy by providing
|
||||||
|
a simpler and less verbose API for working with ODBC. Common tasks should be
|
||||||
|
easy, requiring concise and simple code.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public unqlite
|
(define-public unqlite
|
||||||
(package
|
(package
|
||||||
(name "unqlite")
|
(name "unqlite")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue