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

36 lines
1.1 KiB
Nix
Raw Normal View History

2018-10-12 23:45:07 +02:00
{ stdenv, fetchFromGitHub, cmake, boost, brigand }:
2015-05-11 21:24:49 +02:00
stdenv.mkDerivation rec {
2017-03-12 20:53:50 +01:00
name = "fcppt-${version}";
2018-10-12 23:45:07 +02:00
version = "2.9.0";
2015-05-11 21:24:49 +02:00
2017-03-12 20:53:50 +01:00
src = fetchFromGitHub {
owner = "freundlich";
repo = "fcppt";
rev = version;
2018-10-12 23:45:07 +02:00
sha256 = "0zyqgmi1shjbwin1lx428v7vbi6jnywb1d47dascdn89r5gz6klv";
2015-05-11 21:24:49 +02:00
};
2017-03-12 20:53:50 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ];
2015-05-11 21:24:49 +02:00
2018-10-12 23:45:07 +02:00
cmakeFlags = [ "-DENABLE_EXAMPLES=false" "-DENABLE_TEST=false" "-DBrigand_INCLUDE_DIR=${brigand}/include" ];
2015-05-11 21:24:49 +02:00
enableParallelBuilding = true;
2017-03-12 20:53:50 +01:00
meta = with stdenv.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
'';
2018-05-01 05:03:23 +02:00
homepage = https://fcppt.org;
2017-03-12 20:53:50 +01:00
license = licenses.boost;
maintainers = with maintainers; [ pmiddend ];
platforms = platforms.linux;
2015-05-11 21:24:49 +02:00
};
}