depot/third_party/nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

24 lines
555 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
stdenv.mkDerivation (final: {
pname = "boxed-cpp";
version = "1.2.2";
src = fetchFromGitHub {
owner = "contour-terminal";
repo = "boxed-cpp";
rev = "v${final.version}";
hash = "sha256-/zC9DV2nFY1ipqsM1p/WMdSf/nZkhlqJ2Ce/FzGWGGI=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ catch2 ];
meta = with lib; {
description = "Boxing primitive types in C++";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ maintainers.moni ];
};
})