mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
24 lines
555 B
Nix
24 lines
555 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
|
|
|
|
stdenv.mkDerivation (final: {
|
|
pname = "boxed-cpp";
|
|
version = "1.4.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "contour-terminal";
|
|
repo = "boxed-cpp";
|
|
rev = "v${final.version}";
|
|
hash = "sha256-Z/dfSa/6SnzLWnFCXjJUbTBNa5dFZna099Crbcya/Dw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ catch2 ];
|
|
|
|
meta = with lib; {
|
|
description = "Boxing primitive types in C++";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.moni ];
|
|
};
|
|
})
|