mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #537889
37 lines
781 B
Nix
37 lines
781 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
ninja,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "expected-lite";
|
|
version = "0.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nonstd-lite";
|
|
repo = "expected-lite";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-nxwdymBNbd+RuL8rKi2Fx2gC68TnJe7WnoN0O01lecQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = ''
|
|
Expected objects in C++11 and later in a single-file header-only library
|
|
'';
|
|
homepage = "https://github.com/nonstd-lite/expected-lite";
|
|
changelog = "https://github.com/nonstd-lite/expected-lite/blob/${finalAttrs.src.rev}/CHANGES.txt";
|
|
license = lib.licenses.boost;
|
|
maintainers = with lib.maintainers; [ azahi ];
|
|
};
|
|
})
|