From 532bc09e264d4f65d9818579c63d8f195a8739df Mon Sep 17 00:00:00 2001 From: Sam Rolfe Date: Fri, 20 Feb 2026 19:52:50 +1100 Subject: [PATCH] Add react-doctor derivation --- pkgs/react-doctor.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/react-doctor.nix diff --git a/pkgs/react-doctor.nix b/pkgs/react-doctor.nix new file mode 100644 index 0000000..68e155e --- /dev/null +++ b/pkgs/react-doctor.nix @@ -0,0 +1,23 @@ +{ lib, nodejs, pkgs, buildNpmPackage, fetchFromGitHub }: +buildNpmPackage rec { + pname = "react-doctor"; + version = "0.0.1"; + + src = fetchFromGitHub { + owner = "millionco"; + repo = "react-doctor"; + rev = "v${version}"; + hash = "sha256-T8szJcXeqIWmZQU/D4KpeFU1ZXilThL5JBmw2Y0hZkw="; + }; + + npmDepsHash = lib.fakeSha256; + + npmBuild = "build"; + + meta = with lib; { + description = "Let coding agents diagnose and fix your React code"; + homepage = "https://github.com/millionco/react-doctor"; + license = licenses.mit; + mainProgram = "react-doctor"; + }; +}