23b612e36f
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
24 lines
555 B
Nix
24 lines
555 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
|
|
|
|
stdenv.mkDerivation (final: {
|
|
pname = "boxed-cpp";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "contour-terminal";
|
|
repo = "boxed-cpp";
|
|
rev = "v${final.version}";
|
|
hash = "sha256-Su0FdDi1JVoXd7rJ1SG4cQg2G/+mW5iU1892ee6mRl8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ catch2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Boxing primitive types in C++";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.moni ];
|
|
};
|
|
})
|