mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
da3ddd48e4
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`.
48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
[
|
|
{
|
|
"goPackagePath": "golang.org/x/crypto",
|
|
"fetch": {
|
|
"type": "git",
|
|
"url": "https://go.googlesource.com/crypto",
|
|
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
|
|
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
|
|
}
|
|
},
|
|
{
|
|
"goPackagePath": "github.com/howeyc/gopass",
|
|
"fetch": {
|
|
"type": "git",
|
|
"url": "https://github.com/howeyc/gopass",
|
|
"rev": "2c70fa70727c953c51695f800f25d6b44abb368e",
|
|
"sha256": "152lrkfxk205rlxiign0w5wb0fmfh910yz4jhlv4f4l1qr1h2lx8"
|
|
}
|
|
},
|
|
{
|
|
"goPackagePath": "gopkg.in/mgo.v2",
|
|
"fetch": {
|
|
"type": "git",
|
|
"url": "https://gopkg.in/mgo.v2",
|
|
"rev": "c6a7dce14133ccac2dcac3793f1d6e2ef048503a",
|
|
"sha256": "0rg232q1bkq3y3kd5816hgk1jpf7i38aha5q5ia7j6p9xashz7vj"
|
|
}
|
|
},
|
|
{
|
|
"goPackagePath": "gopkg.in/tomb.v2",
|
|
"fetch": {
|
|
"type": "git",
|
|
"url": "https://gopkg.in/tomb.v2",
|
|
"rev": "14b3d72120e8d10ea6e6b7f87f7175734b1faab8",
|
|
"sha256": "1nza31jvkpka5431c4bdbirvjdy36b1b55sbzljqhqih25jrcjx5"
|
|
}
|
|
},
|
|
{
|
|
"goPackagePath": "github.com/jessevdk/go-flags",
|
|
"fetch": {
|
|
"type": "git",
|
|
"url": "https://github.com/jessevdk/go-flags",
|
|
"rev": "1b89bf73cd2c3a911d7b2a279ab085c4a18cf539",
|
|
"sha256": "027nglc5xx1cm03z9sisg0iqrhwcj6gh5z254rrpl8p4fwrxx680"
|
|
}
|
|
}
|
|
]
|