lib.packagesFromDirectoryRecursive: Improved documentation (#359898)
[NixPkgs.git] / pkgs / by-name / ez / ezno / package.nix
blobaf035e7565ec7f4f6d36d6d1fc3d5e407455f2c8
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "ezno";
10   version = "0.0.8";
12   src = fetchFromGitHub {
13     owner = "kaleidawave";
14     repo = "ezno";
15     rev = "release/ezno-${version}";
16     hash = "sha256-0yLEpNkl7KjBEGxNONtfMjVlWMSKGZ6TbYJMsCeQ3ms=";
17   };
19   cargoHash = "sha256-noMfKx6BsmWhAVI4r8LlC961Uwogv1JGMYSrNGlLGPQ=";
21   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
22     darwin.apple_sdk.frameworks.CoreServices
23   ];
25   cargoBuildFlags = [ "--bin" "ezno" ];
27   meta = with lib; {
28     description = "JavaScript compiler and TypeScript checker with a focus on static analysis and runtime performance";
29     mainProgram = "ezno";
30     homepage = "https://github.com/kaleidawave/ezno";
31     changelog = "https://github.com/kaleidawave/ezno/releases/tag/${src.rev}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ figsoda ];
34   };