Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
897 B
Nix
Raw Permalink Normal View History

2024-05-01 15:14:23 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "ghciwatch";
2025-03-14 15:02:17 +00:00
version = "1.1.5";
2024-05-01 15:14:23 +02:00
src = fetchFromGitHub {
owner = "MercuryTechnologies";
repo = "ghciwatch";
rev = "v${version}";
2025-03-14 15:02:17 +00:00
hash = "sha256-K7BNGRilzi01loE0yS4CZFDNz8TQ9Z+fELO5HUvGObE=";
2024-05-01 15:14:23 +02:00
};
2025-03-14 15:02:17 +00:00
cargoHash = "sha256-kH5YTadpaUXDma+7SfBJxrOIsd9Gm0EU3MfhFmQ3U80=";
2024-05-01 15:14:23 +02:00
# integration tests are not run but the macros need this variable to be set
GHC_VERSIONS = "";
checkFlags = "--test \"unit\"";
meta = with lib; {
description = "Ghci-based file watching recompiler for Haskell development";
homepage = "https://github.com/MercuryTechnologies/ghciwatch";
license = licenses.mit;
maintainers = with maintainers; [
mangoiv
_9999years
];
mainProgram = "ghciwatch";
};
passthru.updateScript = nix-update-script { };
}