diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-08-11 23:07:09 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-08-11 23:07:09 +0200 |
commit | da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf (patch) | |
tree | 10e34ffdf51e8e9dcb22d247d4096caea0b7a386 /pkgs/applications/networking/syncthing012 | |
parent | e26ac7afd49daefc6d0dd560e3c2ccda56233149 (diff) | |
download | nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.gz nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.bz2 nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.lz nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.xz nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.zst nixlib-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.zip |
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`.
Diffstat (limited to 'pkgs/applications/networking/syncthing012')
-rw-r--r-- | pkgs/applications/networking/syncthing012/deps.json | 145 |
1 files changed, 126 insertions, 19 deletions
diff --git a/pkgs/applications/networking/syncthing012/deps.json b/pkgs/applications/networking/syncthing012/deps.json index 75e10397017a..b21f2ef6a168 100644 --- a/pkgs/applications/networking/syncthing012/deps.json +++ b/pkgs/applications/networking/syncthing012/deps.json @@ -1,21 +1,128 @@ [ - { - "include": "../../libs.json", - "packages": [ - "github.com/bkaradzic/go-lz4", - "github.com/calmh/luhn", - "golang.org/x/text", - "github.com/kardianos/osext", - "github.com/vitrun/qart", - "github.com/calmh/du", - "github.com/calmh/xdr", - "github.com/juju/ratelimit", - "github.com/thejerf/suture", - "github.com/golang/snappy", - "github.com/rcrowley/go-metrics", - "github.com/syndtr/goleveldb", - "golang.org/x/crypto", - "golang.org/x/net" - ] - } + { + "goPackagePath": "golang.org/x/crypto", + "fetch": { + "type": "git", + "url": "https://go.googlesource.com/crypto", + "rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6", + "sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa" + } + }, + { + "goPackagePath": "golang.org/x/net", + "fetch": { + "type": "git", + "url": "https://go.googlesource.com/net", + "rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4", + "sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p" + } + }, + { + "goPackagePath": "github.com/rcrowley/go-metrics", + "fetch": { + "type": "git", + "url": "https://github.com/rcrowley/go-metrics", + "rev": "1ce93efbc8f9c568886b2ef85ce305b2217b3de3", + "sha256": "06gg72krlmd0z3zdq6s716blrga95pyj8dc2f2psfbknbkyrkfqa" + } + }, + { + "goPackagePath": "github.com/kardianos/osext", + "fetch": { + "type": "git", + "url": "https://github.com/kardianos/osext", + "rev": "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc", + "sha256": "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a" + } + }, + { + "goPackagePath": "github.com/bkaradzic/go-lz4", + "fetch": { + "type": "git", + "url": "https://github.com/bkaradzic/go-lz4", + "rev": "74ddf82598bc4745b965729e9c6a463bedd33049", + "sha256": "1vdid8v0c2v2qhrg9rzn3l7ya1h34jirrxfnir7gv7w6s4ivdvc1" + } + }, + { + "goPackagePath": "github.com/calmh/luhn", + "fetch": { + "type": "git", + "url": "https://github.com/calmh/luhn", + "rev": "0c8388ff95fa92d4094011e5a04fc99dea3d1632", + "sha256": "1hfj1lx7wdpifn16zqrl4xml6cj5gxbn6hfz1f46g2a6bdf0gcvs" + } + }, + { + "goPackagePath": "golang.org/x/text", + "fetch": { + "type": "git", + "url": "https://go.googlesource.com/text", + "rev": "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e", + "sha256": "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14" + } + }, + { + "goPackagePath": "github.com/vitrun/qart", + "fetch": { + "type": "git", + "url": "https://github.com/vitrun/qart", + "rev": "ccb109cf25f0cd24474da73b9fee4e7a3e8a8ce0", + "sha256": "0bhp768b8ha6f25dmhwn9q8m2lkbn4qnjf8n7pizk25jn5zjdvc8" + } + }, + { + "goPackagePath": "github.com/calmh/du", + "fetch": { + "type": "git", + "url": "https://github.com/calmh/du", + "rev": "3c0690cca16228b97741327b1b6781397afbdb24", + "sha256": "1mv6mkbslfc8giv47kyl97ny0igb3l7jya5hc75sm54xi6g205wa" + } + }, + { + "goPackagePath": "github.com/calmh/xdr", + "fetch": { + "type": "git", + "url": "https://github.com/calmh/xdr", + "rev": "e467b5aeb65ca8516fb3925c84991bf1d7cc935e", + "sha256": "1bi4b2xkjzcr0vq1wxz14i9943k71sj092dam0gdmr9yvdrg0nra" + } + }, + { + "goPackagePath": "github.com/juju/ratelimit", + "fetch": { + "type": "git", + "url": "https://github.com/juju/ratelimit", + "rev": "772f5c38e468398c4511514f4f6aa9a4185bc0a0", + "sha256": "02rs61ay6sq499lxxszjsrxp33m6zklds1xrmnr5fk73vpqfa28p" + } + }, + { + "goPackagePath": "github.com/thejerf/suture", + "fetch": { + "type": "git", + "url": "https://github.com/thejerf/suture", + "rev": "99c1f2d613756768fc4299acd9dc621e11ed3fd7", + "sha256": "094ksr2nlxhvxr58nbnzzk0prjskb21r86jmxqjr3rwg4rkwn6d4" + } + }, + { + "goPackagePath": "github.com/golang/snappy", + "fetch": { + "type": "git", + "url": "https://github.com/golang/snappy", + "rev": "723cc1e459b8eea2dea4583200fd60757d40097a", + "sha256": "0bprq0qb46f5511b5scrdqqzskqqi2z8b4yh3216rv0n1crx536h" + } + }, + { + "goPackagePath": "github.com/syndtr/goleveldb", + "fetch": { + "type": "git", + "url": "https://github.com/syndtr/goleveldb", + "rev": "1a9d62f03ea92815b46fcaab357cfd4df264b1a0", + "sha256": "04ywbif36fiah4fw0x2abr5q3p4fdhi6q57d5icc2mz03q889vhb" + } + } ] |