buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
This commit is contained in:
committed by
zimbatm
parent
7a6b860e1c
commit
914e0e594c
@@ -13,5 +13,5 @@ buildGoPackage rec {
|
||||
sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk";
|
||||
};
|
||||
|
||||
goDeps = ./deps.json;
|
||||
goDeps = ./deps.nix;
|
||||
}
|
||||
|
||||
@@ -1,137 +0,0 @@
|
||||
[
|
||||
{
|
||||
"goPackagePath": "golang.org/x/crypto",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://go.googlesource.com/crypto",
|
||||
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
|
||||
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/miekg/dns",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/miekg/dns",
|
||||
"rev": "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa",
|
||||
"sha256": "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/armon/go-metrics",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/armon/go-metrics",
|
||||
"rev": "b2d95e5291cdbc26997d1301a5e467ecbb240e25",
|
||||
"sha256": "1jvdf98jlbyzbb9w159nifvv8fihrcs66drnl8pilqdjpmkmyyck"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/mattn/go-isatty",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mattn/go-isatty",
|
||||
"rev": "ae0b1f8f8004be68d791a576e3d8e7648ab41449",
|
||||
"sha256": "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/logutils",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/logutils",
|
||||
"rev": "0dc08b1671f34c4250ce212759ebd880f743d883",
|
||||
"sha256": "0rynhjwvacv9ibl2k4fwz0xy71d583ac4p33gm20k9yldqnznc7r"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/armon/go-radix",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/armon/go-radix",
|
||||
"rev": "fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93",
|
||||
"sha256": "16y64r1v054c2ln0bi5mrqq1cmvy6d6pnxk1glb8lw2g31ksa80c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/go-syslog",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/go-syslog",
|
||||
"rev": "42a2b573b664dbf281bd48c3cc12c086b17a39ba",
|
||||
"sha256": "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/memberlist",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/memberlist",
|
||||
"rev": "6025015f2dc659ca2c735112d37e753bda6e329d",
|
||||
"sha256": "01s2gwnbgvwz4wshz9d4za0p12ji4fnapnlmz3jwfcmcwjpyqfb7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/mitchellh/mapstructure",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mitchellh/mapstructure",
|
||||
"rev": "281073eb9eb092240d33ef253c404f1cca550309",
|
||||
"sha256": "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/armon/circbuf",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/armon/circbuf",
|
||||
"rev": "f092b4f207b6e5cce0569056fba9e1a2735cb6cf",
|
||||
"sha256": "06kwwdwa3hskdh6ws7clj1vim80dyc3ldim8k9y5qpd30x0avn5s"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/mdns",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/mdns",
|
||||
"rev": "2b439d37011456df8ff83a70ffd1cd6046410113",
|
||||
"sha256": "17zwk212zmyramnjylpvvrvbbsz0qb5crkhly6yiqkyll3qzpb96"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/mitchellh/cli",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/mitchellh/cli",
|
||||
"rev": "8102d0ed5ea2709ade1243798785888175f6e415",
|
||||
"sha256": "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/ryanuber/columnize",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ryanuber/columnize",
|
||||
"rev": "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a",
|
||||
"sha256": "1qrqr76cw58x2hkjic6h88na5ihgvkmp8mqapj8kmjcjzdxkzhr9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/go-msgpack",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ugorji/go",
|
||||
"rev": "03e33114d4d60a1f37150325e15f51b0fa6fc4f6",
|
||||
"sha256": "01kdzgx23cgb4k867m1pvsw14hhdr9jf2frqy6i4j4221055m57v"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/hashicorp/go.net",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hashicorp/go.net",
|
||||
"rev": "104dcad90073cd8d1e6828b2af19185b60cf3e29",
|
||||
"sha256": "0pfi09h4q6w2x833qxr8r609ml4kw1flqm265j752sb08sbf3zwf"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,137 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
|
||||
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/miekg/dns";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/miekg/dns";
|
||||
rev = "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa";
|
||||
sha256 = "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/armon/go-metrics";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/armon/go-metrics";
|
||||
rev = "b2d95e5291cdbc26997d1301a5e467ecbb240e25";
|
||||
sha256 = "1jvdf98jlbyzbb9w159nifvv8fihrcs66drnl8pilqdjpmkmyyck";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-isatty";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-isatty";
|
||||
rev = "ae0b1f8f8004be68d791a576e3d8e7648ab41449";
|
||||
sha256 = "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/logutils";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/logutils";
|
||||
rev = "0dc08b1671f34c4250ce212759ebd880f743d883";
|
||||
sha256 = "0rynhjwvacv9ibl2k4fwz0xy71d583ac4p33gm20k9yldqnznc7r";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/armon/go-radix";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/armon/go-radix";
|
||||
rev = "fbd82e84e2b13651f3abc5ffd26b65ba71bc8f93";
|
||||
sha256 = "16y64r1v054c2ln0bi5mrqq1cmvy6d6pnxk1glb8lw2g31ksa80c";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/go-syslog";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/go-syslog";
|
||||
rev = "42a2b573b664dbf281bd48c3cc12c086b17a39ba";
|
||||
sha256 = "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/memberlist";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/memberlist";
|
||||
rev = "6025015f2dc659ca2c735112d37e753bda6e329d";
|
||||
sha256 = "01s2gwnbgvwz4wshz9d4za0p12ji4fnapnlmz3jwfcmcwjpyqfb7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mitchellh/mapstructure";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mitchellh/mapstructure";
|
||||
rev = "281073eb9eb092240d33ef253c404f1cca550309";
|
||||
sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/armon/circbuf";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/armon/circbuf";
|
||||
rev = "f092b4f207b6e5cce0569056fba9e1a2735cb6cf";
|
||||
sha256 = "06kwwdwa3hskdh6ws7clj1vim80dyc3ldim8k9y5qpd30x0avn5s";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/mdns";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/mdns";
|
||||
rev = "2b439d37011456df8ff83a70ffd1cd6046410113";
|
||||
sha256 = "17zwk212zmyramnjylpvvrvbbsz0qb5crkhly6yiqkyll3qzpb96";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mitchellh/cli";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mitchellh/cli";
|
||||
rev = "8102d0ed5ea2709ade1243798785888175f6e415";
|
||||
sha256 = "08mj1l94pww72jy34gk9a483hpic0rrackskfw13r3ycy997w7m2";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ryanuber/columnize";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ryanuber/columnize";
|
||||
rev = "44cb4788b2ec3c3d158dd3d1b50aba7d66f4b59a";
|
||||
sha256 = "1qrqr76cw58x2hkjic6h88na5ihgvkmp8mqapj8kmjcjzdxkzhr9";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/go-msgpack";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ugorji/go";
|
||||
rev = "03e33114d4d60a1f37150325e15f51b0fa6fc4f6";
|
||||
sha256 = "01kdzgx23cgb4k867m1pvsw14hhdr9jf2frqy6i4j4221055m57v";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/go.net";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/go.net";
|
||||
rev = "104dcad90073cd8d1e6828b2af19185b60cf3e29";
|
||||
sha256 = "0pfi09h4q6w2x833qxr8r609ml4kw1flqm265j752sb08sbf3zwf";
|
||||
};
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user