mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
lager: move to finalAttrs
explicitly use lib where needed
This commit is contained in:
parent
07fcb5e223
commit
ffe2d584e8
@ -8,15 +8,17 @@
|
||||
, zug
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "lager";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arximboldi";
|
||||
repo = "lager";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-KTHrVV/186l4klwlcfDwFsKVoOVqWCUPzHnIbWuatbg=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
immer
|
||||
@ -28,10 +30,11 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = [
|
||||
"-Dlager_BUILD_EXAMPLES=OFF"
|
||||
];
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/arximboldi/lager";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/arximboldi/lager";
|
||||
description = "C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nek0 ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nek0 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user