mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 08:38:18 +03:00
lmdbxx: use finalAttrs pattern
This commit is contained in:
parent
27bed97bf0
commit
09f21aebb9
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user