Loading pkgs/by-name/la/lager/package.nix +22 −1 Original line number Diff line number Diff line Loading @@ -2,11 +2,14 @@ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, cereal, immer, zug, catch2, qt5, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -20,6 +23,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-ssGBQu8ba798MSTtJeCBE3WQ7AFfvSGLhZ7WBYHEgfw="; }; patches = lib.optionals finalAttrs.finalPackage.doCheck [ # https://github.com/arximboldi/lager/pull/233 (fetchpatch { name = "Stop-using-Boost-system.patch"; url = "https://github.com/arximboldi/lager/commit/0eb1d3d3a6057723c5b57b3e0ee3e41924ff419a.patch"; hash = "sha256-peGpuyuCznCDqYo+9zk1FytLV+a6Um8fvjLmrm7Y2CI="; }) ]; strictDeps = true; nativeBuildInputs = [ cmake ]; Loading @@ -31,11 +43,16 @@ stdenv.mkDerivation (finalAttrs: { zug ]; checkInputs = [ catch2 qt5.qtdeclarative ]; cmakeFlags = [ (lib.cmakeBool "lager_BUILD_DEBUGGER_EXAMPLES" false) (lib.cmakeBool "lager_BUILD_DOCS" false) (lib.cmakeBool "lager_BUILD_EXAMPLES" false) (lib.cmakeBool "lager_BUILD_TESTS" false) (lib.cmakeBool "lager_BUILD_TESTS" finalAttrs.finalPackage.doCheck) ]; # remove BUILD file to avoid conflicts with the build directory Loading @@ -43,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: { rm BUILD ''; doCheck = true; dontWrapQtApps = true; meta = { changelog = "https://github.com/arximboldi/lager/releases/tag/${finalAttrs.src.tag}"; description = "C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++"; Loading Loading
pkgs/by-name/la/lager/package.nix +22 −1 Original line number Diff line number Diff line Loading @@ -2,11 +2,14 @@ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, boost, cereal, immer, zug, catch2, qt5, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -20,6 +23,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-ssGBQu8ba798MSTtJeCBE3WQ7AFfvSGLhZ7WBYHEgfw="; }; patches = lib.optionals finalAttrs.finalPackage.doCheck [ # https://github.com/arximboldi/lager/pull/233 (fetchpatch { name = "Stop-using-Boost-system.patch"; url = "https://github.com/arximboldi/lager/commit/0eb1d3d3a6057723c5b57b3e0ee3e41924ff419a.patch"; hash = "sha256-peGpuyuCznCDqYo+9zk1FytLV+a6Um8fvjLmrm7Y2CI="; }) ]; strictDeps = true; nativeBuildInputs = [ cmake ]; Loading @@ -31,11 +43,16 @@ stdenv.mkDerivation (finalAttrs: { zug ]; checkInputs = [ catch2 qt5.qtdeclarative ]; cmakeFlags = [ (lib.cmakeBool "lager_BUILD_DEBUGGER_EXAMPLES" false) (lib.cmakeBool "lager_BUILD_DOCS" false) (lib.cmakeBool "lager_BUILD_EXAMPLES" false) (lib.cmakeBool "lager_BUILD_TESTS" false) (lib.cmakeBool "lager_BUILD_TESTS" finalAttrs.finalPackage.doCheck) ]; # remove BUILD file to avoid conflicts with the build directory Loading @@ -43,6 +60,10 @@ stdenv.mkDerivation (finalAttrs: { rm BUILD ''; doCheck = true; dontWrapQtApps = true; meta = { changelog = "https://github.com/arximboldi/lager/releases/tag/${finalAttrs.src.tag}"; description = "C++ library for value-oriented design using the unidirectional data-flow architecture — Redux for C++"; Loading