nur-packages

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

default.nix (723B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   cmake,
      6 }:
      7 
      8 stdenv.mkDerivation (finalAttrs: {
      9   pname = "libmdbx";
     10   version = "0.13.1";
     11 
     12   src = fetchurl {
     13     url = "https://libmdbx.dqdkfa.ru/release/libmdbx-amalgamated-${finalAttrs.version}.tar.xz";
     14     hash = "sha256-qrtr80uGmbBt5xeo+s+IIKL90bvkrg6QyaK72ziAGB0=";
     15   };
     16 
     17   sourceRoot = ".";
     18 
     19   nativeBuildInputs = [ cmake ];
     20 
     21   cmakeFlags = [ "-DMDBX_BUILD_TIMESTAMP=unknown" ];
     22 
     23   meta = {
     24     description = "Extremely fast, compact, powerful, embedded, transactional key-value database";
     25     homepage = "https://libmdbx.dqdkfa.ru/";
     26     license = lib.licenses.free; # OpenLDAP Public License
     27     maintainers = [ lib.maintainers.sikmir ];
     28     platforms = lib.platforms.unix;
     29   };
     30 })