mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #539298
29 lines
663 B
Nix
29 lines
663 B
Nix
{
|
|
stdenv,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
lib,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "scope-lite";
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nonstd-lite";
|
|
repo = "scope-lite";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-EZ+bBnMPpgATANa+al5SnVEfUFYc0TkaPTLNHD6zcWU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Migration path to C++ library extensions scope_exit, scope_fail, scope_success, unique_resource";
|
|
license = lib.licenses.boost;
|
|
maintainers = [ lib.maintainers.shlevy ];
|
|
homepage = "https://github.com/nonstd-lite/scope-lite";
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|