NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.63k stars 13.78k forks source link

Packaging request: Google's Xi-editor #32713

Closed MasseGuillaume closed 2 years ago

MasseGuillaume commented 6 years ago

Repository: https://github.com/google/xi-editor

velovix commented 6 years ago

I did some experimentation for this. I'll post my findings here if anyone wants to pick up where I left off.

From what I can tell, xi-editor should be build-able with rustPlatform.buildRustPackage. The only catch is that the Rust code is in the rust/ directory instead of in the root of the repository. I haven't found a way yet to tell buildRustPackage that the source is in that directory, so it complains about the lack of a Cargo.lock file.

It should also be noted that the repository contains only the core of the editor. A front-end is required to actually use it. If we're providing this package, we'll probably also want to provide at least one front-end package to go with it.

ayyess commented 6 years ago

The only catch is that the Rust code is in the rust/ directory instead of in the root of the repository.

There is a sourceRoot option during the unpack stage. See here, although I'm still looking at how to package the frontends.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
milahu commented 2 years ago

close please?

xi-editor is a dead research project, see xi-editor retrospective

alternative: lapce editor

see also #48593