Skip to content

Commit

Permalink
rewatch: init at 1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Dec 13, 2024
1 parent 0d34423 commit d7677f7
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/development/tools/rescript/rewatch/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:

rustPlatform.buildRustPackage rec {
pname = "rewatch";
version = "1.0.9";

src = fetchFromGitHub {
owner = "rescript-lang";
repo = "rewatch";
rev = "v${version}";
hash = "sha256-y+0tBwGa7Fjrnd3O7CwZjapgXJojfgXBZyqAW3cz1Zk=";
};

cargoHash = "sha256-cZTA50gm7o+vBaRNjpZI0LQkXaHIukVTBXoYMUubZgw=";

doCheck = true;

passthru.updateScript = nix-update-script { };

meta = {
description = "Alternative build system for the Rescript Compiler.";
homepage = "https://github.com/rescript-lang/rewatch";
changelog = "https://github.com/rescript-lang/rewatch/releases/tag/v${version}";
mainProgram = "rewatch";
maintainers = with lib.maintainers; [ r17x ];
license = lib.licenses.mit;
};
}

0 comments on commit d7677f7

Please sign in to comment.