nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
497 stars 44 forks source link

Package request: wl-screenrec #407

Closed prescientmoon closed 10 months ago

prescientmoon commented 1 year ago

Repo

Maybe I should try doing this myself, although I am not familiar with packaging rust apps.

colemickens commented 1 year ago

Go for it! I can offer advice if you want, feel free to reply here as much as you want.

I recommend grepping for buildRustPackage, copy the derivation, change the meta/src and start fixing up build errors :)

colemickens commented 1 year ago

Also, if you don't want to do this, let me know and I'll try to just get it done -- I'm always happy to try a new Rust replacement. I'm curious to compare it to OBS, as well.

prescientmoon commented 1 year ago

Go for it! I can offer advice if you want, feel free to reply here as much as you want.

I recommend grepping for buildRustPackage, copy the derivation, change the meta/src and start fixing up build errors :)

Thanks, I'll give it a try in a few days!

colemickens commented 1 year ago

This has been added to nixpkgs [1], so this should be even more trivial to add here.

1: https://github.com/NixOS/nixpkgs/pull/239462

prescientmoon commented 10 months ago

@colemickens Hi! I personally don't have much of a reason not to use the nixpkgs package directly, so I'll close this for now (feel free to reopen)

colemickens commented 10 months ago

This was done in 61f7c9ddbdbfebc134f743b8130714cf1713089d