diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix b/nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix new file mode 100644 index 000000000000..82019f996ad6 --- /dev/null +++ b/nixpkgs/pkgs/by-name/bo/boxed-cpp/package.nix @@ -0,0 +1,24 @@ +{ lib, stdenv, fetchFromGitHub, cmake, catch2 }: + +stdenv.mkDerivation (final: { + pname = "boxed-cpp"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "contour-terminal"; + repo = "boxed-cpp"; + rev = "v${final.version}"; + hash = "sha256-8qhP1yXdRTbU/IbDAaQrdjzIMM5ZjCAULI07dw44XcE="; + }; + + nativeBuildInputs = [ cmake ]; + + buildInputs = [ catch2 ]; + + meta = with lib; { + description = "Boxing primitive types in C++"; + license = licenses.asl20; + platforms = platforms.unix; + maintainers = [ maintainers.moni ]; + }; +}) |