Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2 3stdenv.mkDerivation rec { 4 pname = "functionalplus"; 5 version = "0.2.18-p0"; 6 7 src = fetchFromGitHub { 8 owner = "Dobiasd"; 9 repo = "FunctionalPlus"; 10 rev = "v${version}"; 11 sha256 = "sha256-jypBQjFdVEktB8Q71RTg+3RJoeFwD5Wxw+fq+4QG38g="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 meta = with lib; { 17 description = "Functional Programming Library for C++"; 18 homepage = "https://github.com/Dobiasd/FunctionalPlus"; 19 license = licenses.boost; 20 platforms = platforms.all; 21 maintainers = []; 22 }; 23}