1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 catch2,
7}:
8
9stdenv.mkDerivation (final: {
10 pname = "boxed-cpp";
11 version = "1.4.3";
12
13 src = fetchFromGitHub {
14 owner = "contour-terminal";
15 repo = "boxed-cpp";
16 rev = "v${final.version}";
17 hash = "sha256-uZ/wT159UuEcTUtoQyt0D59z2wnLT5KpeeCpjyij198=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21
22 buildInputs = [ catch2 ];
23
24 meta = with lib; {
25 description = "Boxing primitive types in C++";
26 license = licenses.asl20;
27 platforms = platforms.unix;
28 maintainers = [ maintainers.moni ];
29 };
30})