1 { stdenv, cmake, fetchFromGitHub, lib }: let
3 in stdenv.mkDerivation {
4 name = "scope-lite-${version}";
6 src = fetchFromGitHub {
10 hash = "sha256-/Vu3blgyEOQRFqhQjuT/6ukV0iWA0TdPrLnt2Z/gd6E=";
13 nativeBuildInputs = [ cmake ];
16 description = "Migration path to C++ library extensions scope_exit, scope_fail, scope_success, unique_resource";
17 license = lib.licenses.boost;
18 maintainers = [ lib.maintainers.shlevy ];
19 homepage = "https://github.com/martinmoene/scope-lite";
20 platforms = lib.platforms.all;