Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
555 B
Nix
24 lines
555 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
|
|
|
|
stdenv.mkDerivation (final: {
|
|
pname = "boxed-cpp";
|
|
version = "1.4.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "contour-terminal";
|
|
repo = "boxed-cpp";
|
|
rev = "v${final.version}";
|
|
hash = "sha256-uZ/wT159UuEcTUtoQyt0D59z2wnLT5KpeeCpjyij198=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ catch2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Boxing primitive types in C++";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.moni ];
|
|
};
|
|
})
|