nixpkgs/pkgs/development/libraries/fcppt/default.nix

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

38 lines
1.1 KiB
Nix
Raw Normal View History

2022-06-30 15:35:48 +02:00
{ lib, stdenv, fetchFromGitHub, cmake, boost, catch2 }:
2015-05-11 21:24:49 +02:00
stdenv.mkDerivation rec {
2019-08-05 13:43:10 +02:00
pname = "fcppt";
2022-06-30 15:35:48 +02:00
version = "4.2.1";
2015-05-11 21:24:49 +02:00
2017-03-12 20:53:50 +01:00
src = fetchFromGitHub {
owner = "freundlich";
repo = "fcppt";
rev = version;
2022-06-30 15:35:48 +02:00
sha256 = "1pcmi2ck12nanw1rnwf8lmyx85iq20897k6daxx3hw5f23j1kxv6";
2015-05-11 21:24:49 +02:00
};
2017-03-12 20:53:50 +01:00
nativeBuildInputs = [ cmake ];
2022-06-30 15:35:48 +02:00
buildInputs = [ boost catch2 ];
2015-05-11 21:24:49 +02:00
cmakeFlags = [
"-DENABLE_BOOST=true"
"-DENABLE_EXAMPLES=true"
"-DENABLE_CATCH=true"
"-DENABLE_TEST=true"
];
2015-05-11 21:24:49 +02:00
meta = with lib; {
2015-05-11 21:24:49 +02:00
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).
2015-05-11 21:24:49 +02:00
'';
2020-04-10 08:19:41 +02:00
homepage = "https://fcppt.org";
2017-03-12 20:53:50 +01:00
license = licenses.boost;
maintainers = with maintainers; [ pmiddend ];
2022-06-30 15:35:48 +02:00
platforms = [ "x86_64-linux" "x86_64-windows" ];
2015-05-11 21:24:49 +02:00
};
}