Merge pull request #100459 from AndersonTorres/unqlite-new

unqlite: init at 1.1.9
gstqt5
Rok Garbas 2020-10-14 14:02:49 +02:00 committed by GitHub
commit 6e8efe8a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ stdenv
, fetchFromGitHub
, cmake }:
stdenv.mkDerivation rec {
pname = "unqlite";
version = "1.1.9";
src = fetchFromGitHub {
owner = "symisc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-WLsyGEt7Xe6ZrOGMO7+3TU2sBgDTSmfD1WzD70pcDjo=";
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = "https://unqlite.org/";
description = "Self-contained, serverless, zero-conf, transactional NoSQL DB library";
longDescription = ''
UnQLite is a in-process software library which implements a
self-contained, serverless, zero-configuration, transactional NoSQL
database engine. UnQLite is a document store database similar to MongoDB,
Redis, CouchDB etc. as well a standard Key/Value store similar to
BerkeleyDB, LevelDB, etc.
UnQLite is an embedded NoSQL (Key/Value store and Document-store) database
engine. Unlike most other NoSQL databases, UnQLite does not have a
separate server process. UnQLite reads and writes directly to ordinary
disk files. A complete database with multiple collections, is contained in
a single disk file. The database file format is cross-platform, you can
freely copy a database between 32-bit and 64-bit systems or between
big-endian and little-endian architectures.
'';
maintainers = with maintainers; [ AndersonTorres ];
license = licenses.bsd2;
};
}

View File

@ -15563,6 +15563,8 @@ in
sqlite = lowPrio (callPackage ../development/libraries/sqlite { });
unqlite = lowPrio (callPackage ../development/libraries/unqlite { });
inherit (callPackage ../development/libraries/sqlite/tools.nix {
inherit (darwin.apple_sdk.frameworks) Foundation;
}) sqlite-analyzer sqldiff;