depot/third_party/nixpkgs/pkgs/development/tools/misc/ezno/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
912 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "ezno";
version = "0.0.8";
src = fetchFromGitHub {
owner = "kaleidawave";
repo = "ezno";
rev = "release/ezno-${version}";
hash = "sha256-0yLEpNkl7KjBEGxNONtfMjVlWMSKGZ6TbYJMsCeQ3ms=";
};
cargoHash = "sha256-noMfKx6BsmWhAVI4r8LlC961Uwogv1JGMYSrNGlLGPQ=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
cargoBuildFlags = [ "--bin" "ezno" ];
meta = with lib; {
description = "JavaScript compiler and TypeScript checker with a focus on static analysis and runtime performance";
mainProgram = "ezno";
homepage = "https://github.com/kaleidawave/ezno";
changelog = "https://github.com/kaleidawave/ezno/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}