lmdbxx: use finalAttrs pattern

This commit is contained in:
Francesco Gazzetta 2024-02-19 16:25:06 +01:00
parent 27bed97bf0
commit 09f21aebb9

View File

@ -2,14 +2,14 @@
, fetchFromGitHub
, lmdb }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "lmdbxx";
version = "1.0.0";
src = fetchFromGitHub {
owner = "hoytech";
repo = "lmdbxx";
rev = version;
rev = finalAttrs.version;
sha256 = "sha256-7CxQZdgHVvmof6wVR9Mzic6tg89XJT3Z1ICGRs7PZYo=";
};
@ -22,5 +22,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ fgaz ];
};
}
})