nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 17.09-beta 35 lines 1.0 kB view raw
1{ stdenv, fetchFromGitHub, cmake, boost }: 2 3stdenv.mkDerivation rec { 4 name = "fcppt-${version}"; 5 version = "2.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "freundlich"; 9 repo = "fcppt"; 10 rev = version; 11 sha256 = "0pjldwwxgnzjfd04cy29a9mn2szq4v2mjnw0367kxd141q2iglqi"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 buildInputs = [ boost ]; 16 17 cmakeFlags = [ "-DENABLE_EXAMPLES=false" "-DENABLE_TEST=false" ]; 18 19 enableParallelBuilding = true; 20 21 meta = with stdenv.lib; { 22 description = "Freundlich's C++ toolkit"; 23 longDescription = '' 24 Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on 25 improving general C++ code by providing better types, a strong focus on 26 C++11 (non-conforming compilers are mostly not supported) and functional 27 programming (which is both efficient and syntactically affordable in 28 C++11). 29 ''; 30 homepage = http://fcppt.org; 31 license = licenses.boost; 32 maintainers = with maintainers; [ pmiddend ]; 33 platforms = platforms.linux; 34 }; 35}