Unverified Commit 5a52931f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

fs-watcher-lsp: init at 0.1.0 (#503907)

parents 030628be 54d7fa08
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -14964,6 +14964,12 @@
    githubId = 61395246;
    name = "Lampros Pitsillos";
  };
  landreussi = {
    email = "lucasandreussi@gmail.com";
    github = "landreussi";
    githubId = 5938518;
    name = "Lucas Andreussi";
  };
  langsjo = {
    name = "langsjo";
    github = "langsjo";
+46 −0
Original line number Diff line number Diff line
{
  lib,
  fetchCrate,
  openssl,
  pkg-config,
  rustPlatform,
  nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "fs-watcher-lsp";
  version = "0.1.0";

  __structuredAttrs = true;

  src = fetchCrate {
    version = finalAttrs.version;
    crateName = "fs_watcher_lsp";
    hash = "sha256-zahbi8RK8aDHcVOzIk5fCIh57+SjMGAVtUvtKhpMvF0=";
  };

  cargoHash = "sha256-w1i19IV/tjyl+W0NIjjbB0R9UpGrAUuK/yWbOZUKPUA=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    openssl
  ];

  buildNoDefaultFeatures = false;
  doCheck = true;

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

  meta = {
    description = "Little file system watcher LSP to reload your editor";
    changelog = "https://codeberg.org/Zentropivity/fs_watcher_lsp/releases/tag/v${finalAttrs.version}";
    license = with lib.licenses; [
      mit
      asl20
    ];
    maintainers = with lib.maintainers; [ landreussi ];
    mainProgram = "fs_watcher_lsp";
  };
})