Unverified Commit ffe2d584 authored by John Titor's avatar John Titor
Browse files

lager: move to finalAttrs

explicitly use lib where needed
parent 07fcb5e2
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -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; {

  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 ];
  };
}
})