mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
25 lines
555 B
Nix
25 lines
555 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
|
|
|
|
stdenv.mkDerivation (final: {
|
|
pname = "boxed-cpp";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "contour-terminal";
|
|
repo = "boxed-cpp";
|
|
rev = "v${final.version}";
|
|
hash = "sha256-o+qAEpP2inGQVXJ1i3HBee0fXQYR2HCyBY4Urk8ohMI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ catch2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Boxing primitive types in C++";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.moni ];
|
|
};
|
|
})
|