nixpkgs/pkgs/servers/monitoring/prometheus/prom2json_deps.json
Kamil Chmielewski da3ddd48e4 buildGoPackage: remove Go deps file libs.json
After #16017 there were a lot
of comments saying that `nix` would be better than `JSON`
for Go packages dependency sets.
As said in https://github.com/NixOS/nixpkgs/pull/16017#issuecomment-229624046

    > Because of the content-addressable store, if two programs have the
    > same dependency it will already result in the same derivation in
    > the
    > store. Git also has compression in the pack files so it won't make
    > much difference to duplicate the dependencies on disk. And finally
    > most users will just use the binary builds so it won't make any
    > differences to them.

This PR removes `libs.json` file and puts all package dependencies in
theirs `deps.json`.
2016-08-11 23:07:09 +02:00

39 lines
1.3 KiB
JSON

[
{
"goPackagePath": "github.com/golang/protobuf",
"fetch": {
"type": "git",
"url": "https://github.com/golang/protobuf",
"rev": "59b73b37c1e45995477aae817e4a653c89a858db",
"sha256": "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa"
}
},
{
"goPackagePath": "github.com/prometheus/client_model",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/client_model",
"rev": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6",
"sha256": "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9"
}
},
{
"goPackagePath": "github.com/matttproud/golang_protobuf_extensions",
"fetch": {
"type": "git",
"url": "https://github.com/matttproud/golang_protobuf_extensions",
"rev": "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a",
"sha256": "0ajg41h6402big484drvm72wvid1af2sffw0qkzbmpy04lq68ahj"
}
},
{
"goPackagePath": "github.com/prometheus/client_golang",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/client_golang",
"rev": "6dbab8106ed3ed77359ac85d9cf08e30290df864",
"sha256": "1i3g5h2ncdb8b67742kfpid7d0a1jas1pyicglbglwngfmzhpkna"
}
}
]