fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 boost,
7 catch2_3,
8}:
9stdenv.mkDerivation (finalAttrs: {
10 pname = "fcppt";
11 version = "5.0.0";
12
13 src = fetchFromGitHub {
14 owner = "freundlich";
15 repo = "fcppt";
16 rev = finalAttrs.version;
17 hash = "sha256-8dBG6LdSngsutBboqb3WVVg3ylayoUYDOJV6p/ZFkoE=";
18 };
19
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [
22 boost
23 catch2_3
24 ];
25
26 cmakeFlags = [
27 "-DENABLE_BOOST=true"
28 "-DENABLE_EXAMPLES=true"
29 "-DENABLE_CATCH=true"
30 "-DENABLE_TEST=true"
31 ];
32
33 meta = {
34 description = "Freundlich's C++ toolkit";
35 longDescription = ''
36 Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on
37 improving general C++ code by providing better types, a strong focus on
38 C++11 (non-conforming compilers are mostly not supported) and functional
39 programming (which is both efficient and syntactically affordable in
40 C++11).
41 '';
42 homepage = "https://fcppt.org";
43 license = lib.licenses.boost;
44 maintainers = with lib.maintainers; [ pmiddend ];
45 platforms = [
46 "x86_64-linux"
47 "x86_64-windows"
48 ];
49 };
50})