Open freeman42x opened 4 years ago
The other packages are all done via fpm, but nix doesn't seem to be a supported target unfortunately 🙁
So yeah I've never used it, let alone packaged for it, but yeah sure I'm down for pull requests on the matter 🙂
i wrote a nix package for splatmoji. it probably wants some cleanup to make sure anyone adding it to systemPackages doesn't get bin/splatmoji.config
and other data files in their PATH, and it needs some thought on how to handle the pluggable components (like xdotool) which wayland users might not want. right now i just don't link those into the package: the user should explicitly add xdotool/etc to systemPackages.
in enough time i might fix those things & upstream it, but if anyone else is more eager, you can use this as a starting point: https://git.uninsane.org/colin/nix-files/src/commit/8e8168ec28f30bae2c3d83c03fe2b115e4b4626f/pkgs/splatmoji/default.nix
if anyone upstreams splatmoji into nixpkgs, tag me on the PR and i'll review it 👍️
cleaned up the package today & opened a PR against nixpkgs for this: https://github.com/NixOS/nixpkgs/pull/211874
Nix is a very powerful package manager which offers very stable build across all of the Linux distributions and macOS X.
I would be ideal if there would be a Nix package so that anyone could easily install splatmoji. Even just a Nix expression defined here in this project would be better than nothing.
I might try to implement this myself if it is OK since it is quite exciting to do cause the benefits are huge and the effort is minimal.