mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #537889
51 lines
1.1 KiB
Nix
51 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
boost,
|
|
catch2_3,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "fcppt";
|
|
version = "5.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cpreh";
|
|
repo = "fcppt";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-8dBG6LdSngsutBboqb3WVVg3ylayoUYDOJV6p/ZFkoE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
boost
|
|
catch2_3
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DENABLE_BOOST=true"
|
|
"-DENABLE_EXAMPLES=true"
|
|
"-DENABLE_CATCH=true"
|
|
"-DENABLE_TEST=true"
|
|
];
|
|
|
|
meta = {
|
|
description = "Freundlich's C++ toolkit";
|
|
longDescription = ''
|
|
Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on
|
|
improving general C++ code by providing better types, a strong focus on
|
|
C++11 (non-conforming compilers are mostly not supported) and functional
|
|
programming (which is both efficient and syntactically affordable in
|
|
C++11).
|
|
'';
|
|
homepage = "https://fcppt.org";
|
|
license = lib.licenses.boost;
|
|
maintainers = with lib.maintainers; [ pmiddend ];
|
|
platforms = [
|
|
"x86_64-linux"
|
|
"x86_64-windows"
|
|
];
|
|
};
|
|
})
|