summary refs log tree commit diff
path: root/pkgs/development/tools/functiontrace-server
diff options
context:
space:
mode:
authorMatt Bryant <github@programsareproofs.com>2023-03-28 20:43:28 -0700
committerMatt Bryant <github@programsareproofs.com>2023-03-31 20:36:32 -0700
commit7f14501e42c9f6314f85738cb9378b9d1e5c8675 (patch)
tree9a58bdbe90d4e8fc63f02b0d3f1d5baf2120fc12 /pkgs/development/tools/functiontrace-server
parent4a6f9a7bd647d21ff2629cd94ae8e24a3743b8e2 (diff)
functiontrace-server: init at 0.5.2
Added initial version of the server-piece of https://functiontrace.com.
This is most useful with a functiontrace client, which depends on this
and will therefore be added afterwards.
Diffstat (limited to 'pkgs/development/tools/functiontrace-server')
-rw-r--r--pkgs/development/tools/functiontrace-server/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/functiontrace-server/default.nix b/pkgs/development/tools/functiontrace-server/default.nix
new file mode 100644
index 0000000000000..abacb1d9f9d4e
--- /dev/null
+++ b/pkgs/development/tools/functiontrace-server/default.nix
@@ -0,0 +1,23 @@
+{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "functiontrace-server";
+  version = "0.5.2";
+
+  src = fetchCrate {
+    inherit pname version;
+    hash = "sha256-p6ypMfg99ohQCyPB2O0wXbGmPvD2K9V3EnFDd5dC6js=";
+  };
+
+  cargoHash = "sha256-3tLjW7yiS1dNsV81KUZbfN2pvYT9kqiC62nWFid2NH8=";
+
+  buildInputs = lib.optionals stdenv.isDarwin
+    [ darwin.apple_sdk.frameworks.CoreFoundation ];
+
+  meta = with lib; {
+    description = "Server for FunctionTrace, a graphical Python profiler";
+    homepage = "https://functiontrace.com";
+    license = with licenses; [ prosperity30 ];
+    maintainers = with maintainers; [ tehmatt ];
+  };
+}