2017-03-12 19:53:50 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, boost }:
|
2015-05-11 19:24:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-12 19:53:50 +00:00
|
|
|
name = "fcppt-${version}";
|
|
|
|
version = "2.5.0";
|
2015-05-11 19:24:49 +00:00
|
|
|
|
2017-03-12 19:53:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "freundlich";
|
|
|
|
repo = "fcppt";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0pjldwwxgnzjfd04cy29a9mn2szq4v2mjnw0367kxd141q2iglqi";
|
2015-05-11 19:24:49 +00:00
|
|
|
};
|
|
|
|
|
2017-03-12 19:53:50 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ boost ];
|
2015-05-11 19:24:49 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DENABLE_EXAMPLES=false" "-DENABLE_TEST=false" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2017-03-12 19:53:50 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-05-11 19:24:49 +00:00
|
|
|
description = "Freundlich's C++ toolkit";
|
|
|
|
longDescription = ''
|
2016-08-02 16:38:04 +00:00
|
|
|
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 19:24:49 +00:00
|
|
|
'';
|
2018-05-01 03:03:23 +00:00
|
|
|
homepage = https://fcppt.org;
|
2017-03-12 19:53:50 +00:00
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = with maintainers; [ pmiddend ];
|
|
|
|
platforms = platforms.linux;
|
2015-05-11 19:24:49 +00:00
|
|
|
};
|
|
|
|
}
|