nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
555 B
Nix
Raw Normal View History

2023-12-19 22:45:23 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, catch2 }:
stdenv.mkDerivation (final: {
pname = "boxed-cpp";
2024-02-11 09:27:25 +00:00
version = "1.3.0";
2023-12-19 22:45:23 +00:00
src = fetchFromGitHub {
owner = "contour-terminal";
repo = "boxed-cpp";
rev = "v${final.version}";
2024-02-11 09:27:25 +00:00
hash = "sha256-o+qAEpP2inGQVXJ1i3HBee0fXQYR2HCyBY4Urk8ohMI=";
2023-12-19 22:45:23 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ catch2 ];
meta = with lib; {
description = "Boxing primitive types in C++";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [ maintainers.moni ];
};
})