nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 2dd728a348e068f6c4a6c88590fed0ac2a5ee528
parent 4ab4548110119aa53453f1470c30e982f1eb6b2c
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 15 Jan 2023 21:01:59 +0300

Add libmdbx

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/libmdbx/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -312,6 +312,7 @@ lib.makeScope newScope ( ish = callPackage ./misc/ish { }; jenkins-cli = callPackage ./misc/jenkins-cli { }; lazyscraper = callPackage ./misc/lazyscraper { }; + libmdbx = callPackage ./misc/libmdbx { }; libnbcompat = callPackage ./misc/libnbcompat { }; md2html = callPackage ./misc/md2html { }; miband4 = callPackage ./misc/miband4 { }; diff --git a/pkgs/misc/libmdbx/default.nix b/pkgs/misc/libmdbx/default.nix @@ -0,0 +1,23 @@ +{ lib, stdenv, fetchurl, cmake }: + +stdenv.mkDerivation rec { + pname = "libmdbx"; + version = "0.12.3"; + + src = fetchurl { + url = "https://libmdbx.dqdkfa.ru/release/libmdbx-amalgamated-0.12.3.tar.xz"; + hash = "sha256-YwH5Hh+4IbmUJ46g+SDsx+PSuBadg93+ytfxQTVnZZ0="; + }; + + sourceRoot = "."; + + nativeBuildInputs = [ cmake ]; + + meta = with lib; { + description = "Extremely fast, compact, powerful, embedded, transactional key-value database"; + homepage = "https://libmdbx.dqdkfa.ru/"; + license = licenses.free; # OpenLDAP Public License + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}