Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "unqlite"; 10 version = "1.1.9"; 11 12 src = fetchFromGitHub { 13 owner = "symisc"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "sha256-WLsyGEt7Xe6ZrOGMO7+3TU2sBgDTSmfD1WzD70pcDjo="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 homepage = "https://unqlite.org/"; 23 description = "Self-contained, serverless, zero-conf, transactional NoSQL DB library"; 24 longDescription = '' 25 UnQLite is a in-process software library which implements a 26 self-contained, serverless, zero-configuration, transactional NoSQL 27 database engine. UnQLite is a document store database similar to MongoDB, 28 Redis, CouchDB etc. as well a standard Key/Value store similar to 29 BerkeleyDB, LevelDB, etc. 30 31 UnQLite is an embedded NoSQL (Key/Value store and Document-store) database 32 engine. Unlike most other NoSQL databases, UnQLite does not have a 33 separate server process. UnQLite reads and writes directly to ordinary 34 disk files. A complete database with multiple collections, is contained in 35 a single disk file. The database file format is cross-platform, you can 36 freely copy a database between 32-bit and 64-bit systems or between 37 big-endian and little-endian architectures. 38 ''; 39 maintainers = with maintainers; [ ]; 40 license = licenses.bsd2; 41 }; 42}