Conversation
bd67aa3 to
7ca3a92
Compare
|
@remko I mentioned you in the maintainers. Let me know if you don't want to be mentioned there. Thanks again for providing this nice piece of software and hopefully this small PR will allow using it for even wider audience 👌 |
7ca3a92 to
6eebb93
Compare
6eebb93 to
9f8b66a
Compare
|
@Kranzes I saw that you commented on the earlier PR on I'm now building the plugin directly from source instead of downloading the binary like you suggested here. |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
I am not sure wether remko belongs into the maintainers field |
I don't think you should add the creator of original software as a maintainer in nixpkgs unless they actually want to maintain this nixpkgs package. Correct me if I'm wrong but from a quick look at their profile I don't think remko is using Nix. |
|
Hey, I pinged him above and he reacted with the heart emoji ❤️ 5 minutes later with his other account https://github.com/remko-bw so I assumed it was okay for him. I'm happy to remove him and do to the maintenance myself if this is a blocker 👍. Again this is my first contribution so I apologize if I'm not able to follow all conventions and please teach me 🙇 EDIT: added 3 missing words (sorry for my dyslexia) |
Yes I'm highly confident that he is not using Nix 👍 |
|
I don't know of any guideline that requires that they use nix; the idea of the "maintainer" field is that they are pinged whenever there are PRs on the package and can help with the packaging. If the upstream is willing to do that, I see no issue having them as a maintainer here 🤷 |
eclairevoyant
left a comment
There was a problem hiding this comment.
Also, please change your commit and PR title to be lower-case, nix is case sensitive and the name of the commit is used by CI to build/test the package.
@ofborg build age-plugin-se
9f8b66a to
aeaed5a
Compare
8eb8807 to
9abe040
Compare
|
Thanks @eclairevoyant for taking the time from your day. You gave very pleasant feedback which helped me to learn and I really wish I can be helpful in this community in return. If I ever see you IRL I'm happy to offer a beer or soda to you 🍻🥤🤝. |
|
btw I don't have merge access, so a committer would have to review and merge |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
I get a build error: https://paste.fliegendewurst.eu/jEnz8b |
fd0ec25 to
e0b544d
Compare
3879946 to
d149d85
Compare
|
@SuperSandro2000 & @FliegendeWurst I fixed all comments you had. Anything else I should still do or would you like to approve this? |
|
Formatting CI fails as:
The package itself looks good to me, however I can't test it. |
d149d85 to
1c1871d
Compare
|
@onnimonni Please ensure to use |
1c1871d to
3ff951a
Compare
|
Would it be possible to add Linux support (e.g. by repackaging with
nevermind, upon further testing the manifest issue seems to be unrelated, and also Also-also, if it will remain macOS only, then maybe it would be possible to patch out the |
|
Can you rebase this on top of the latest |
This goes well beyond the scope of my current nix/age/swift understanding. I'm happy to let someone more experienced to continue from here to fulfil all of these wishes. It seems that getting this merged is not that easy and I will just need to rely on installing it from homebrew instead. This is a bit sad since I would really want to use nix more not less. |
3ff951a to
57816f1
Compare
57816f1 to
0012df5
Compare
Done and done. I hope I ran the nix formatter properly too and it doesn't now give errors. |
|
@andre4ik3 IMO if this package works on darwin, this can be merged as-is with further discussion on refactoring for linux later. |
andre4ik3
left a comment
There was a problem hiding this comment.
Sounds good. I agree Linux support and refactoring can be done later. Other than that I've been using this for a few weeks now to manage my secrets and it's worked like a charm :)
Oh and btw the upstream swift-crypto dependency has been bumped past 3.0 as well so doesn't look like there's any compatibility issues between 2.x and 3.x.
Until it's merged you can use an overlay, e.g. something like this Then simply use |
|
If using an overlay, |
|
Merging this as It works on darwin and is marked as such. Linux support, which I do have a personal interest in, can be done in a new PR. :) Thanks for your patience & work @onnimonni! 🎉 |
Added a plugin for age to create and use private keys using Apple's secure enclave coprocessor. This is my first time packaging anything into nix but I was able to see how others were using
swift-cryptoand swift programs in general and the make flags from corresponding homebrew formula.Please teach me if there's a better way to reference the
swift-cryptodependency.I builded this on my machine and it works fine. Closes #382877.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.