Skip to content
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

Open
seqizz opened this issue Jan 16, 2021 · 3 comments
Open

Cargo sha256 support? #55

seqizz opened this issue Jan 16, 2021 · 3 comments

Comments

@seqizz
Copy link

seqizz commented Jan 16, 2021

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.

@expipiplus1
Copy link
Owner

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?

@seqizz
Copy link
Author

seqizz commented Jan 17, 2021

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.

@expipiplus1
Copy link
Owner

expipiplus1 commented Jan 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants