python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / scope-lite / default.nix
blob40cad6a5fc3c72d06575368446ba93604866d7ff
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 = "A 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   };