about summary refs log tree commit diff
path: root/pkgs/servers/mesos-dns
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-08-11 23:07:09 +0200
committerKamil Chmielewski <kamil.chm@gmail.com>2016-08-11 23:07:09 +0200
commitda3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf (patch)
tree10e34ffdf51e8e9dcb22d247d4096caea0b7a386 /pkgs/servers/mesos-dns
parente26ac7afd49daefc6d0dd560e3c2ccda56233149 (diff)
downloadnixlib-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/servers/mesos-dns')
-rw-r--r--pkgs/servers/mesos-dns/deps.json115
1 files changed, 99 insertions, 16 deletions
diff --git a/pkgs/servers/mesos-dns/deps.json b/pkgs/servers/mesos-dns/deps.json
index 8ac9d7058413..4df002888c42 100644
--- a/pkgs/servers/mesos-dns/deps.json
+++ b/pkgs/servers/mesos-dns/deps.json
@@ -1,18 +1,101 @@
 [
-  {
-    "include": "../../libs.json",
-    "packages": [
-      "github.com/gogo/protobuf",
-      "github.com/golang/glog",
-      "github.com/mesos/mesos-go",
-      "github.com/pmezard/go-difflib",
-      "github.com/samuel/go-zookeeper",
-      "github.com/stretchr/objx",
-      "github.com/davecgh/go-spew",
-      "github.com/emicklei/go-restful",
-      "github.com/stretchr/testify",
-      "github.com/miekg/dns",
-      "golang.org/x/net"
-    ]
-  }
+    {
+        "goPackagePath": "golang.org/x/net",
+        "fetch": {
+            "type": "git",
+            "url": "https://go.googlesource.com/net",
+            "rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
+            "sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
+        }
+    },
+    {
+        "goPackagePath": "github.com/miekg/dns",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/miekg/dns",
+            "rev": "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa",
+            "sha256": "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl"
+        }
+    },
+    {
+        "goPackagePath": "github.com/gogo/protobuf",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/gogo/protobuf",
+            "rev": "7883e1468d48d969e1c3ce4bcde89b6a7dd4adc4",
+            "sha256": "16ja7lqq96q0pnzgnbwnh0j8qzvqgns1nfk8ndxgkg4sg93bg372"
+        }
+    },
+    {
+        "goPackagePath": "github.com/golang/glog",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/golang/glog",
+            "rev": "fca8c8854093a154ff1eb580aae10276ad6b1b5f",
+            "sha256": "1nr2q0vas0a2f395f4shjxqpas18mjsf8yhgndsav7svngpbbpg8"
+        }
+    },
+    {
+        "goPackagePath": "github.com/mesos/mesos-go",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/mesos/mesos-go",
+            "rev": "aaa5b2fecf0e2db463f4f996c89617d6766b2969",
+            "sha256": "1pk1fpxksjln6kqvgm1igw3582jgrn14fwa8bdj5cwbpy6skjdvk"
+        }
+    },
+    {
+        "goPackagePath": "github.com/pmezard/go-difflib",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/pmezard/go-difflib",
+            "rev": "d8ed2627bdf02c080bf22230dbb337003b7aba2d",
+            "sha256": "0w1jp4k4zbnrxh3jvh8fgbjgqpf2hg31pbj8fb32kh26px9ldpbs"
+        }
+    },
+    {
+        "goPackagePath": "github.com/samuel/go-zookeeper",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/samuel/go-zookeeper",
+            "rev": "5bb5cfc093ad18a28148c578f8632cfdb4d802e4",
+            "sha256": "1kpx1ymh7rds0b2km291idnyqi0zck74nd8hnk72crgz7wmpqv6z"
+        }
+    },
+    {
+        "goPackagePath": "github.com/stretchr/objx",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/stretchr/objx",
+            "rev": "cbeaeb16a013161a98496fad62933b1d21786672",
+            "sha256": "1xn7iibjik77h6h0jilfvcjkkzaqz45baf44p3rb2i03hbmkqkp1"
+        }
+    },
+    {
+        "goPackagePath": "github.com/davecgh/go-spew",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/davecgh/go-spew",
+            "rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d",
+            "sha256": "15h9kl73rdbzlfmsdxp13jja5gs7sknvqkpq2qizq3qv3nr1x8dk"
+        }
+    },
+    {
+        "goPackagePath": "github.com/emicklei/go-restful",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/emicklei/go-restful",
+            "rev": "892402ba11a2e2fd5e1295dd633481f27365f14d",
+            "sha256": "0gr9f53vayc6501a1kaw4p3h9pgf376cgxsfnr3f2dvp0xacvw8x"
+        }
+    },
+    {
+        "goPackagePath": "github.com/stretchr/testify",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/stretchr/testify",
+            "rev": "089c7181b8c728499929ff09b62d3fdd8df8adff",
+            "sha256": "03dzxkxbs298pvfsjz4kdadfaf9jkzsdhshqmg4p12wbyaj09s4p"
+        }
+    }
 ]