Commit d2965a2c authored by figsoda's avatar figsoda
Browse files
parent ccde02dc
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{ 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 = "A JavaScript compiler and TypeScript checker with a focus on static analysis and runtime performance";
    homepage = "https://github.com/kaleidawave/ezno";
    changelog = "https://github.com/kaleidawave/ezno/releases/tag/${src.rev}";
    license = licenses.mit;
    maintainers = with maintainers; [ figsoda ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18457,6 +18457,8 @@ with pkgs;
  explain = callPackage ../development/tools/explain { };
  ezno = callPackage ../development/tools/misc/ezno { };
  func = callPackage ../applications/networking/cluster/func { };
  funnelweb = callPackage ../development/tools/literate-programming/funnelweb { };