nix-community / vgo2nix

Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files [maintainer=@adisbladis]
MIT License
89 stars 21 forks source link

Bad SHA256 for repo #13

Closed jhillyerd closed 5 years ago

jhillyerd commented 5 years ago

Package: github.com/twpayne/chezmoi Tag: v1.3.0

Normal go build (outside of my GOPATH) finds & downloads dependencies fine.

Running with vgo2nix @ master 8213e1f fails with:

Finished fetching github.com/xordataexchange/crypt                                                                                         
panic: Error processing import path "github.com/xordataexchange/crypt": Bad SHA256 for repo https://github.com/xordataexchange/crypt with rev v0.0.3-0.20170626215501-b2862e3d0a77

goroutine 1 [running]:
main.main()
        /home/james/devel/vgo2nix/main.go:232 +0x61e
adisbladis commented 5 years ago

Thanks for this reporting this! I wonder if there is a better way to extract revs.. I need to look into this.