10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
15 owner = "MercuryTechnologies";
18 hash = "sha256-jHjUpLSu1+rshZ37ZyXjh5Q4WrFkqZUk8gxErN+vpQM=";
21 cargoHash = "sha256-TiMqWF+MJseK5KMj+G4j66gJ0mQdW+VKglgBq2qPd6A=";
23 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
24 darwin.apple_sdk.frameworks.CoreFoundation
25 darwin.apple_sdk.frameworks.CoreServices
28 # integration tests are not run but the macros need this variable to be set
30 checkFlags = "--test \"unit\"";
33 description = "Ghci-based file watching recompiler for Haskell development";
34 homepage = "https://github.com/MercuryTechnologies/ghciwatch";
35 license = licenses.mit;
36 maintainers = with maintainers; [
40 mainProgram = "ghciwatch";
43 passthru.updateScript = nix-update-script { };