-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo sha256 support? #55
Comments
Sure, shouldn't be too hard at all. One would need to add another function like the ones here which matches on the rust package expression: https://github.com/expipiplus1/update-nix-fetchgit/blob/master/src/Update/Nix/Updater.hs#L123-L135 and also add some code which calculates this hash. Are you interested in making a PR? |
I'd love to. But as a Python/Go person, linked code seems like an Egyptian hieroglyph to me tbh. |
hahah, understandable.
Happy to do it then (at my pace). It would greatly help if you could paste
here some code or shell commands which get the hash given the parameters in
a rust nix expression. (And an example of that nix expression).
Better yet would be a (failing) test case!
…On Sun, Jan 17, 2021 at 2:39 PM Gürkan ***@***.***> wrote:
Are you interested in making a PR?
I'd love to. But as a Python/Go person, linked code seems like an Egyptian
hieroglyph to me tbh.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRJXH66SN4EUGD4DDI2Z3S2KAZJANCNFSM4WFDACVA>
.
|
First of all, thanks for this tool.
Any chance supporting
cargoSha256
values on Rust packages? I've found an explanation on how they're calculated.The text was updated successfully, but these errors were encountered: