about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/functionalplus
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/functionalplus')
-rw-r--r--nixpkgs/pkgs/development/libraries/functionalplus/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/functionalplus/default.nix b/nixpkgs/pkgs/development/libraries/functionalplus/default.nix
new file mode 100644
index 000000000000..b456dd887344
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/functionalplus/default.nix
@@ -0,0 +1,23 @@
+{ lib, stdenv, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  pname = "functionalplus";
+  version = "0.2.20-p0";
+
+  src = fetchFromGitHub {
+    owner = "Dobiasd";
+    repo = "FunctionalPlus";
+    rev = "v${version}";
+    sha256 = "sha256-PKd3gx63VTxyq1q0v7WaKXVA0oICpZQfVsKsgUml9wk=";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = with lib; {
+    description = "Functional Programming Library for C++";
+    homepage = "https://github.com/Dobiasd/FunctionalPlus";
+    license = licenses.boost;
+    platforms = platforms.all;
+    maintainers = [];
+  };
+}