ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / sc / scope-lite / package.nix
blob37cf8d12fd00e2ac2b55152ea4cea93626b64889
1 { stdenv, cmake, fetchFromGitHub, lib }: let
2   version = "0.2.0";
3 in stdenv.mkDerivation {
4   name = "scope-lite-${version}";
6   src = fetchFromGitHub {
7     owner = "martinmoene";
8     repo = "scope-lite";
9     rev = "v${version}";
10     hash = "sha256-/Vu3blgyEOQRFqhQjuT/6ukV0iWA0TdPrLnt2Z/gd6E=";
11   };
13   nativeBuildInputs = [ cmake ];
15   meta = {
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;
21   };