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:
Kamil Chmielewski 2016-09-10 12:04:13 +02:00 committed by zimbatm
parent 7a6b860e1c
commit 914e0e594c
173 changed files with 4176 additions and 4127 deletions

View File

@ -24,7 +24,7 @@ deis = buildGoPackage rec {
sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw"; sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw";
}; };
goDeps = ./deps.json; <co xml:id='ex-buildGoPackage-3' /> goDeps = ./deps.nix; <co xml:id='ex-buildGoPackage-3' />
buildFlags = "--tags release"; <co xml:id='ex-buildGoPackage-4' /> buildFlags = "--tags release"; <co xml:id='ex-buildGoPackage-4' />
} }
@ -56,7 +56,9 @@ the following arguments are of special significance to the function:
<callout arearefs='ex-buildGoPackage-3'> <callout arearefs='ex-buildGoPackage-3'>
<para> <para>
<varname>goDeps</varname> is where the Go dependencies of a Go program are listed <varname>goDeps</varname> is where the Go dependencies of a Go program are listed
in a JSON format described below. as a list of package source identified by Go import path.
It could be imported as a separate <varname>deps.nix</varname> file for
readability. The dependency data structure is described below.
</para> </para>
</callout> </callout>
@ -70,23 +72,32 @@ the following arguments are of special significance to the function:
</para> </para>
<para>The <varname>goDeps</varname> attribute should point to a JSON file that defines which Go libraries <para>The <varname>goDeps</varname> attribute can be imported from a separate
are needed and should be included in <varname>GOPATH</varname> for <varname>buildPhase</varname>. <varname>nix</varname> file that defines which Go libraries are needed and should
be included in <varname>GOPATH</varname> for <varname>buildPhase</varname>.
</para> </para>
<example xml:id='ex-goDeps'><title>deps.json</title> <example xml:id='ex-goDeps'><title>deps.nix</title>
<programlisting> <programlisting>
[ <co xml:id='ex-goDeps-1' /> [ <co xml:id='ex-goDeps-1' />
{ {
"goPackagePath": "gopkg.in/yaml.v2", <co xml:id='ex-goDeps-2' /> goPackagePath = "gopkg.in/yaml.v2"; <co xml:id='ex-goDeps-2' />
"fetch": { fetch = {
"type": "git", <co xml:id='ex-goDeps-3' /> type = "git"; <co xml:id='ex-goDeps-3' />
"url": "https://gopkg.in/yaml.v2", url = "https://gopkg.in/yaml.v2";
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4", rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh" sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
} };
} }
{
goPackagePath = "github.com/docopt/docopt-go";
fetch = {
type = "git";
url = "https://github.com/docopt/docopt-go";
rev = "784ddc588536785e7299f7272f39101f7faccc3f";
sha256 = "0wwz48jl9fvl1iknvn9dqr4gfy1qs03gxaikrxxp9gry6773v3sj";
};
}
] ]
</programlisting> </programlisting>
</example> </example>

View File

@ -99,6 +99,13 @@ following incompatible changes:</para>
</para> </para>
</listitem> </listitem>
<listitem>
<para><literal>goPackages</literal> was replaced with separated Go applications
in appropriate <literal>nixpkgs</literal> categories. Each Go package uses its own
dependency set defined in nix. There's also a new <literal>go2nix</literal>
tool introduced to generate Go package definition from its Go source automatically.</para>
</listitem>
</itemizedlist> </itemizedlist>

View File

@ -14,5 +14,5 @@ buildGoPackage rec {
sha256 = "135mrdi8i56z9m2sihjrdfab6lrczbfgavwvfrngvi1zxnx7scmv"; sha256 = "135mrdi8i56z9m2sihjrdfab6lrczbfgavwvfrngvi1zxnx7scmv";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,317 +0,0 @@
[
{
"goPackagePath": "golang.org/x/sys",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/sys",
"rev": "d9157a9621b69ad1d8d77a1933590c416593f24f",
"sha256": "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931"
}
},
{
"goPackagePath": "gopkg.in/yaml.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/yaml.v2",
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
}
},
{
"goPackagePath": "github.com/gorilla/websocket",
"fetch": {
"type": "git",
"url": "https://github.com/gorilla/websocket",
"rev": "a622679ebd7a3b813862379232f645f8e690e43f",
"sha256": "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q"
}
},
{
"goPackagePath": "github.com/inconshreveable/mousetrap",
"fetch": {
"type": "git",
"url": "https://github.com/inconshreveable/mousetrap",
"rev": "9dbb96d2c3a964935b0870b5abaea13c98b483aa",
"sha256": "1f9g8vm18qv1rcb745a4iahql9vfrz0jni9mnzriab2wy1pfdl5b"
}
},
{
"goPackagePath": "github.com/kardianos/osext",
"fetch": {
"type": "git",
"url": "https://github.com/kardianos/osext",
"rev": "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc",
"sha256": "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a"
}
},
{
"goPackagePath": "github.com/hashicorp/hcl",
"fetch": {
"type": "git",
"url": "https://github.com/hashicorp/hcl",
"rev": "54864211433d45cb780682431585b3e573b49e4a",
"sha256": "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950"
}
},
{
"goPackagePath": "github.com/hashicorp/go-multierror",
"fetch": {
"type": "git",
"url": "https://github.com/hashicorp/go-multierror",
"rev": "56912fb08d85084aa318edcf2bba735b97cf35c5",
"sha256": "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r"
}
},
{
"goPackagePath": "github.com/BurntSushi/toml",
"fetch": {
"type": "git",
"url": "https://github.com/BurntSushi/toml",
"rev": "056c9bc7be7190eaa7715723883caffa5f8fa3e4",
"sha256": "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"
}
},
{
"goPackagePath": "github.com/mitchellh/mapstructure",
"fetch": {
"type": "git",
"url": "https://github.com/mitchellh/mapstructure",
"rev": "281073eb9eb092240d33ef253c404f1cca550309",
"sha256": "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh"
}
},
{
"goPackagePath": "golang.org/x/text",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/text",
"rev": "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e",
"sha256": "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14"
}
},
{
"goPackagePath": "github.com/shurcooL/sanitized_anchor_name",
"fetch": {
"type": "git",
"url": "https://github.com/shurcooL/sanitized_anchor_name",
"rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77",
"sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01"
}
},
{
"goPackagePath": "github.com/russross/blackfriday",
"fetch": {
"type": "git",
"url": "https://github.com/russross/blackfriday",
"rev": "d18b67ae0afd61dae240896eae1785f00709aa31",
"sha256": "1l78hz8k1ixry5fjw29834jz1q5ysjcpf6kx2ggjj1s6xh0bfzvf"
}
},
{
"goPackagePath": "github.com/yosssi/ace",
"fetch": {
"type": "git",
"url": "https://github.com/yosssi/ace",
"rev": "71afeb714739f9d5f7e1849bcd4a0a5938e1a70d",
"sha256": "15k7ji8m3nqbwhnsvp82j4qa45sgvwv2giliw2xkdwi2g7mfrn8k"
}
},
{
"goPackagePath": "github.com/spf13/viper",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/viper",
"rev": "c1ccc378a054ea8d4e38d8c67f6938d4760b53dd",
"sha256": "0lpdzalqhqp9pwsg63inkxwjji7m0pp42ryw1499bqbjp97hriq0"
}
},
{
"goPackagePath": "github.com/spf13/pflag",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/pflag",
"rev": "367864438f1b1a3c7db4da06a2f55b144e6784e0",
"sha256": "03c6654hv4v1fj79i5sri3p9q2afqgicka4nicb6fr4kcfkkgbfp"
}
},
{
"goPackagePath": "github.com/spf13/jwalterweatherman",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/jwalterweatherman",
"rev": "33c24e77fb80341fe7130ee7c594256ff08ccc46",
"sha256": "1knvzspqzc2bh58q16zggzc8gcabjp5gr7zk4k7nx5ij4092cg0z"
}
},
{
"goPackagePath": "github.com/fsnotify/fsnotify",
"fetch": {
"type": "git",
"url": "https://github.com/fsnotify/fsnotify",
"rev": "30411dbcefb7a1da7e84f75530ad3abe4011b4f8",
"sha256": "0kbpvyi6p9942k0vmcw5z13mja47f7hq7nqd332pn2zydss6kddm"
}
},
{
"goPackagePath": "github.com/magiconair/properties",
"fetch": {
"type": "git",
"url": "https://github.com/magiconair/properties",
"rev": "c265cfa48dda6474e208715ca93e987829f572f8",
"sha256": "1ab9ywwsrdq5mvrcwl7m3276y1q4dfwinbv88vgpqwcqai9wkpp3"
}
},
{
"goPackagePath": "github.com/bep/inflect",
"fetch": {
"type": "git",
"url": "https://github.com/bep/inflect",
"rev": "b896c45f5af983b1f416bdf3bb89c4f1f0926f69",
"sha256": "0drv6in94n7lmap4ajvgqlvdcbpn8alinfdzywzpihvzbx21b3h3"
}
},
{
"goPackagePath": "github.com/eknkc/amber",
"fetch": {
"type": "git",
"url": "https://github.com/eknkc/amber",
"rev": "91774f050c1453128146169b626489e60108ec03",
"sha256": "1rb8bm35h8a77q4py6r3818cpwh7kpq1kh2ib2rb4i5s7z75ciis"
}
},
{
"goPackagePath": "github.com/spf13/afero",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/afero",
"rev": "1a8ecf8b9da1fb5306e149e83128fc447957d2a8",
"sha256": "1nrg0gmqnl4h6zjmi4mdhrwnl3l34nzxpq2hsr3nizfvrx5gqbzw"
}
},
{
"goPackagePath": "github.com/spf13/cast",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/cast",
"rev": "27b586b42e29bec072fe7379259cc719e1289da6",
"sha256": "1y73pfxdvm1bfpghwsfxj8gl4miv6fpzi9azxcknp6rcjn1gmq0x"
}
},
{
"goPackagePath": "github.com/spf13/cobra",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/cobra",
"rev": "bc81c21bd0d8be5ba2d6630a505d79d4467566e7",
"sha256": "1sp8gl25cjx0yibh6q1i8d5rbxpwaal3z8vz372wfmbz002say8r"
}
},
{
"goPackagePath": "github.com/dchest/cssmin",
"fetch": {
"type": "git",
"url": "https://github.com/dchest/cssmin",
"rev": "fb8d9b44afdc258bfff6052d3667521babcb2239",
"sha256": "09sdijfx5d05z4cd5k6lhl7k3kbpdf2amzlngv15h5v0fff9qw4s"
}
},
{
"goPackagePath": "github.com/spf13/fsync",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/fsync",
"rev": "eefee59ad7de621617d4ff085cf768aab4b919b1",
"sha256": "0d56xdczawikyczc12i661qc79dbv4q8ihlj4p20zsjkyxxym59p"
}
},
{
"goPackagePath": "github.com/cpuguy83/go-md2man",
"fetch": {
"type": "git",
"url": "https://github.com/cpuguy83/go-md2man",
"rev": "2724a9c9051aa62e9cca11304e7dd518e9e41599",
"sha256": "1j2bigs7ixy20cdqd246nxr417md2qcyvkfk3x94992cr88d0vyj"
}
},
{
"goPackagePath": "github.com/miekg/mmark",
"fetch": {
"type": "git",
"url": "https://github.com/miekg/mmark",
"rev": "adb5c3e2e9f3e7da9bd25291edda8e66c0045a2a",
"sha256": "0fycz17fj37fh95lfshdrfwrgkzi3hl1kgnily0cxc9zwfbap3qa"
}
},
{
"goPackagePath": "github.com/spf13/nitro",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/nitro",
"rev": "24d7ef30a12da0bdc5e2eb370a79c659ddccf0e8",
"sha256": "143sbpx0jdgf8f8ayv51x6l4jg6cnv6nps6n60qxhx4vd90s6mib"
}
},
{
"goPackagePath": "github.com/PuerkitoBio/purell",
"fetch": {
"type": "git",
"url": "https://github.com/PuerkitoBio/purell",
"rev": "1d5d1cfad45d42ec5f81fa8ef23de09cebc6dcc3",
"sha256": "12k82576ka21c6572yy2v81kxpjrgf9mffjlz469g3vs0g3nkwlb"
}
},
{
"goPackagePath": "github.com/pkg/sftp",
"fetch": {
"type": "git",
"url": "https://github.com/pkg/sftp",
"rev": "d4c18e7ffdc496a38de67dde6e29b2f364afc472",
"sha256": "0cnl83k317gxskayfj3xwr4bl0vcbjvlwi3q0vjwvircynb6xscj"
}
},
{
"goPackagePath": "github.com/kr/fs",
"fetch": {
"type": "git",
"url": "https://github.com/kr/fs",
"rev": "2788f0dbd16903de03cb8186e5c7d97b69ad387b",
"sha256": "1c0fipl4rsh0v5liq1ska1dl83v3llab4k6lm8mvrx9c4dyp71ly"
}
},
{
"goPackagePath": "github.com/kyokomi/emoji",
"fetch": {
"type": "git",
"url": "https://github.com/kyokomi/emoji",
"rev": "17c5e7085c9d59630aa578df67f4469481fbe7a9",
"sha256": "0qs4mi7z1lghiyiw7s2bz5y959wj9ifmhyqh39xwqk69d690jwlp"
}
},
{
"goPackagePath": "github.com/pkg/errors",
"fetch": {
"type": "git",
"url": "https://github.com/pkg/errors",
"rev": "494e70f7620561491c2ca11e185bbef4b70060da",
"sha256": "0a0961ixl67vryhnzyzhai357c9n9a7v3vpkpqrh32spn033gjd9"
}
},
{
"goPackagePath": "github.com/PuerkitoBio/urlesc",
"fetch": {
"type": "git",
"url": "https://github.com/PuerkitoBio/urlesc",
"rev": "5fa9ff0392746aeae1c4b37fcc42c65afa7a9587",
"sha256": "0dppkmfs0hb5vcqli191x9yss5vvlx29qxjcywhdfirc89rn0sni"
}
}
]

View File

@ -0,0 +1,317 @@
[
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d9157a9621b69ad1d8d77a1933590c416593f24f";
sha256 = "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a622679ebd7a3b813862379232f645f8e690e43f";
sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q";
};
}
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
rev = "9dbb96d2c3a964935b0870b5abaea13c98b483aa";
sha256 = "1f9g8vm18qv1rcb745a4iahql9vfrz0jni9mnzriab2wy1pfdl5b";
};
}
{
goPackagePath = "github.com/kardianos/osext";
fetch = {
type = "git";
url = "https://github.com/kardianos/osext";
rev = "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc";
sha256 = "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "54864211433d45cb780682431585b3e573b49e4a";
sha256 = "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950";
};
}
{
goPackagePath = "github.com/hashicorp/go-multierror";
fetch = {
type = "git";
url = "https://github.com/hashicorp/go-multierror";
rev = "56912fb08d85084aa318edcf2bba735b97cf35c5";
sha256 = "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r";
};
}
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4";
sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw";
};
}
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
rev = "281073eb9eb092240d33ef253c404f1cca550309";
sha256 = "1zjx9fv29639sp1fn84rxs830z7gp7bs38yd5y1hl5adb8s5x1mh";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "5eb8d4684c4796dd36c74f6452f2c0fa6c79597e";
sha256 = "1cjwm2pv42dbfqc6ylr7jmma902zg4gng5aarqrbjf1k2nf2vs14";
};
}
{
goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
fetch = {
type = "git";
url = "https://github.com/shurcooL/sanitized_anchor_name";
rev = "10ef21a441db47d8b13ebcc5fd2310f636973c77";
sha256 = "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01";
};
}
{
goPackagePath = "github.com/russross/blackfriday";
fetch = {
type = "git";
url = "https://github.com/russross/blackfriday";
rev = "d18b67ae0afd61dae240896eae1785f00709aa31";
sha256 = "1l78hz8k1ixry5fjw29834jz1q5ysjcpf6kx2ggjj1s6xh0bfzvf";
};
}
{
goPackagePath = "github.com/yosssi/ace";
fetch = {
type = "git";
url = "https://github.com/yosssi/ace";
rev = "71afeb714739f9d5f7e1849bcd4a0a5938e1a70d";
sha256 = "15k7ji8m3nqbwhnsvp82j4qa45sgvwv2giliw2xkdwi2g7mfrn8k";
};
}
{
goPackagePath = "github.com/spf13/viper";
fetch = {
type = "git";
url = "https://github.com/spf13/viper";
rev = "c1ccc378a054ea8d4e38d8c67f6938d4760b53dd";
sha256 = "0lpdzalqhqp9pwsg63inkxwjji7m0pp42ryw1499bqbjp97hriq0";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "367864438f1b1a3c7db4da06a2f55b144e6784e0";
sha256 = "03c6654hv4v1fj79i5sri3p9q2afqgicka4nicb6fr4kcfkkgbfp";
};
}
{
goPackagePath = "github.com/spf13/jwalterweatherman";
fetch = {
type = "git";
url = "https://github.com/spf13/jwalterweatherman";
rev = "33c24e77fb80341fe7130ee7c594256ff08ccc46";
sha256 = "1knvzspqzc2bh58q16zggzc8gcabjp5gr7zk4k7nx5ij4092cg0z";
};
}
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
type = "git";
url = "https://github.com/fsnotify/fsnotify";
rev = "30411dbcefb7a1da7e84f75530ad3abe4011b4f8";
sha256 = "0kbpvyi6p9942k0vmcw5z13mja47f7hq7nqd332pn2zydss6kddm";
};
}
{
goPackagePath = "github.com/magiconair/properties";
fetch = {
type = "git";
url = "https://github.com/magiconair/properties";
rev = "c265cfa48dda6474e208715ca93e987829f572f8";
sha256 = "1ab9ywwsrdq5mvrcwl7m3276y1q4dfwinbv88vgpqwcqai9wkpp3";
};
}
{
goPackagePath = "github.com/bep/inflect";
fetch = {
type = "git";
url = "https://github.com/bep/inflect";
rev = "b896c45f5af983b1f416bdf3bb89c4f1f0926f69";
sha256 = "0drv6in94n7lmap4ajvgqlvdcbpn8alinfdzywzpihvzbx21b3h3";
};
}
{
goPackagePath = "github.com/eknkc/amber";
fetch = {
type = "git";
url = "https://github.com/eknkc/amber";
rev = "91774f050c1453128146169b626489e60108ec03";
sha256 = "1rb8bm35h8a77q4py6r3818cpwh7kpq1kh2ib2rb4i5s7z75ciis";
};
}
{
goPackagePath = "github.com/spf13/afero";
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
rev = "1a8ecf8b9da1fb5306e149e83128fc447957d2a8";
sha256 = "1nrg0gmqnl4h6zjmi4mdhrwnl3l34nzxpq2hsr3nizfvrx5gqbzw";
};
}
{
goPackagePath = "github.com/spf13/cast";
fetch = {
type = "git";
url = "https://github.com/spf13/cast";
rev = "27b586b42e29bec072fe7379259cc719e1289da6";
sha256 = "1y73pfxdvm1bfpghwsfxj8gl4miv6fpzi9azxcknp6rcjn1gmq0x";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "bc81c21bd0d8be5ba2d6630a505d79d4467566e7";
sha256 = "1sp8gl25cjx0yibh6q1i8d5rbxpwaal3z8vz372wfmbz002say8r";
};
}
{
goPackagePath = "github.com/dchest/cssmin";
fetch = {
type = "git";
url = "https://github.com/dchest/cssmin";
rev = "fb8d9b44afdc258bfff6052d3667521babcb2239";
sha256 = "09sdijfx5d05z4cd5k6lhl7k3kbpdf2amzlngv15h5v0fff9qw4s";
};
}
{
goPackagePath = "github.com/spf13/fsync";
fetch = {
type = "git";
url = "https://github.com/spf13/fsync";
rev = "eefee59ad7de621617d4ff085cf768aab4b919b1";
sha256 = "0d56xdczawikyczc12i661qc79dbv4q8ihlj4p20zsjkyxxym59p";
};
}
{
goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
type = "git";
url = "https://github.com/cpuguy83/go-md2man";
rev = "2724a9c9051aa62e9cca11304e7dd518e9e41599";
sha256 = "1j2bigs7ixy20cdqd246nxr417md2qcyvkfk3x94992cr88d0vyj";
};
}
{
goPackagePath = "github.com/miekg/mmark";
fetch = {
type = "git";
url = "https://github.com/miekg/mmark";
rev = "adb5c3e2e9f3e7da9bd25291edda8e66c0045a2a";
sha256 = "0fycz17fj37fh95lfshdrfwrgkzi3hl1kgnily0cxc9zwfbap3qa";
};
}
{
goPackagePath = "github.com/spf13/nitro";
fetch = {
type = "git";
url = "https://github.com/spf13/nitro";
rev = "24d7ef30a12da0bdc5e2eb370a79c659ddccf0e8";
sha256 = "143sbpx0jdgf8f8ayv51x6l4jg6cnv6nps6n60qxhx4vd90s6mib";
};
}
{
goPackagePath = "github.com/PuerkitoBio/purell";
fetch = {
type = "git";
url = "https://github.com/PuerkitoBio/purell";
rev = "1d5d1cfad45d42ec5f81fa8ef23de09cebc6dcc3";
sha256 = "12k82576ka21c6572yy2v81kxpjrgf9mffjlz469g3vs0g3nkwlb";
};
}
{
goPackagePath = "github.com/pkg/sftp";
fetch = {
type = "git";
url = "https://github.com/pkg/sftp";
rev = "d4c18e7ffdc496a38de67dde6e29b2f364afc472";
sha256 = "0cnl83k317gxskayfj3xwr4bl0vcbjvlwi3q0vjwvircynb6xscj";
};
}
{
goPackagePath = "github.com/kr/fs";
fetch = {
type = "git";
url = "https://github.com/kr/fs";
rev = "2788f0dbd16903de03cb8186e5c7d97b69ad387b";
sha256 = "1c0fipl4rsh0v5liq1ska1dl83v3llab4k6lm8mvrx9c4dyp71ly";
};
}
{
goPackagePath = "github.com/kyokomi/emoji";
fetch = {
type = "git";
url = "https://github.com/kyokomi/emoji";
rev = "17c5e7085c9d59630aa578df67f4469481fbe7a9";
sha256 = "0qs4mi7z1lghiyiw7s2bz5y959wj9ifmhyqh39xwqk69d690jwlp";
};
}
{
goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
rev = "494e70f7620561491c2ca11e185bbef4b70060da";
sha256 = "0a0961ixl67vryhnzyzhai357c9n9a7v3vpkpqrh32spn033gjd9";
};
}
{
goPackagePath = "github.com/PuerkitoBio/urlesc";
fetch = {
type = "git";
url = "https://github.com/PuerkitoBio/urlesc";
rev = "5fa9ff0392746aeae1c4b37fcc42c65afa7a9587";
sha256 = "0dppkmfs0hb5vcqli191x9yss5vvlx29qxjcywhdfirc89rn0sni";
};
}
]

View File

@ -6,7 +6,7 @@ buildGoPackage rec {
rev = "bc666ec165d08b43134f7ec0bf29083ad5466243"; rev = "bc666ec165d08b43134f7ec0bf29083ad5466243";
goPackagePath = "github.com/michaeldv/mop"; goPackagePath = "github.com/michaeldv/mop";
goDeps = ./deps.json; goDeps = ./deps.nix;
preConfigure = '' preConfigure = ''
for i in $(find . -type f);do for i in $(find . -type f);do

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "github.com/nsf/termbox-go",
"fetch": {
"type": "git",
"url": "https://github.com/nsf/termbox-go",
"rev": "9aecf65084a5754f12d27508fa2e6ed56851953b",
"sha256": "16sak07bgvmax4zxfrd4jia1dgygk733xa8vk8cdx28z98awbfsh"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/nsf/termbox-go";
fetch = {
type = "git";
url = "https://github.com/nsf/termbox-go";
rev = "9aecf65084a5754f12d27508fa2e6ed56851953b";
sha256 = "16sak07bgvmax4zxfrd4jia1dgygk733xa8vk8cdx28z98awbfsh";
};
}
]

View File

@ -13,5 +13,5 @@ buildGoPackage rec {
sha256 = "14p3hvv82bsxqnbnzz8hjv75i39kzg154a132n6cdxx3vgw76gck"; sha256 = "14p3hvv82bsxqnbnzz8hjv75i39kzg154a132n6cdxx3vgw76gck";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,29 +0,0 @@
[
{
"goPackagePath": "github.com/mattn/go-runewidth",
"fetch": {
"type": "git",
"url": "https://github.com/mattn/go-runewidth",
"rev": "d6bea18f789704b5f83375793155289da36a3c7f",
"sha256": "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs"
}
},
{
"goPackagePath": "github.com/mattn/go-colorable",
"fetch": {
"type": "git",
"url": "https://github.com/mattn/go-colorable",
"rev": "3dac7b4f76f6e17fb39b768b89e3783d16e237fe",
"sha256": "08680mba8hh2rghymqbzd4m40r9k765w5kbzvrif9ngd6h85qnw6"
}
},
{
"goPackagePath": "github.com/schachmat/ingo",
"fetch": {
"type": "git",
"url": "https://github.com/schachmat/ingo",
"rev": "fab41e4e62cbef5d92998746ec25f7e195100f38",
"sha256": "04yfnch7pdabjjqfl2qxjmsaknvp4m1rbjlv8qrpmnqwjkxzx0hb"
}
}
]

View File

@ -0,0 +1,29 @@
[
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "d6bea18f789704b5f83375793155289da36a3c7f";
sha256 = "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs";
};
}
{
goPackagePath = "github.com/mattn/go-colorable";
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
rev = "3dac7b4f76f6e17fb39b768b89e3783d16e237fe";
sha256 = "08680mba8hh2rghymqbzd4m40r9k765w5kbzvrif9ngd6h85qnw6";
};
}
{
goPackagePath = "github.com/schachmat/ingo";
fetch = {
type = "git";
url = "https://github.com/schachmat/ingo";
rev = "fab41e4e62cbef5d92998746ec25f7e195100f38";
sha256 = "04yfnch7pdabjjqfl2qxjmsaknvp4m1rbjlv8qrpmnqwjkxzx0hb";
};
}
]

View File

@ -14,5 +14,5 @@ buildGoPackage rec {
sha256 = "07s4nhfcr6vznf1amvl3a4wq2hn9zq871rcppfi4i6zs7iw2ay1v"; sha256 = "07s4nhfcr6vznf1amvl3a4wq2hn9zq871rcppfi4i6zs7iw2ay1v";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,164 +0,0 @@
[
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
}
},
{
"goPackagePath": "google.golang.org/api",
"fetch": {
"type": "git",
"url": "https://code.googlesource.com/google-api-go-client",
"rev": "a5c3e2a4792aff40e59840d9ecdff0542a202a80",
"sha256": "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8"
}
},
{
"goPackagePath": "google.golang.org/cloud",
"fetch": {
"type": "git",
"url": "https://code.googlesource.com/gocloud",
"rev": "6335269abf9002cf5a84613c13cda6010842b834",
"sha256": "15xrqxna5ms0r634k3bfzyymn431dvqcjwbsap8ay60x371kzbwf"
}
},
{
"goPackagePath": "golang.org/x/oauth2",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/oauth2",
"rev": "397fe7649477ff2e8ced8fc0b2696f781e53745a",
"sha256": "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8"
}
},
{
"goPackagePath": "github.com/mattn/go-isatty",
"fetch": {
"type": "git",
"url": "https://github.com/mattn/go-isatty",
"rev": "ae0b1f8f8004be68d791a576e3d8e7648ab41449",
"sha256": "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj"
}
},
{
"goPackagePath": "github.com/boltdb/bolt",
"fetch": {
"type": "git",
"url": "https://github.com/boltdb/bolt",
"rev": "957d850b5158a4eebf915476058e720f43459584",
"sha256": "193adhhsqdy0kyq1l1fi8pg2n6pwyrw4h607qm78qyi26f8i7vzf"
}
},
{
"goPackagePath": "github.com/cheggaaa/pb",
"fetch": {
"type": "git",
"url": "https://github.com/cheggaaa/pb",
"rev": "e648e12b78cedf14ebb2fc1855033f07b034cfbb",
"sha256": "03k4cars7hcqqgdsd0minfls2p7gjpm8q6y8vknh1s68kvxd4xam"
}
},
{
"goPackagePath": "github.com/odeke-em/cli-spinner",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/cli-spinner",
"rev": "610063bb4aeef25f7645b3e6080456655ec0fb33",
"sha256": "13wzs2qrxd72ah32ym0ppswhvyimjw5cqaq3q153y68vlvxd048c"
}
},
{
"goPackagePath": "github.com/odeke-em/statos",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/statos",
"rev": "f27d6ab69b62abd9d9fe80d355e23a3e45d347d6",
"sha256": "17cpks8bi9i7p8j38x0wy60jb9g39wbzszcmhx4hlq6yzxr04jvs"
}
},
{
"goPackagePath": "github.com/odeke-em/exponential-backoff",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/exponential-backoff",
"rev": "96e25d36ae36ad09ac02cbfe653b44c4043a8e09",
"sha256": "1as21p2jj8xpahvdxqwsw2i1s3fll14dlc9j192iq7xl1ybwpqs6"
}
},
{
"goPackagePath": "github.com/odeke-em/extractor",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/extractor",
"rev": "801861aedb854c7ac5e1329e9713023e9dc2b4d4",
"sha256": "036zmnqxy48h6mxiwywgxix2p4fqvl4svlmcp734ri2rbq3cmxs1"
}
},
{
"goPackagePath": "github.com/odeke-em/meddler",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/meddler",
"rev": "d2b51d2b40e786ab5f810d85e65b96404cf33570",
"sha256": "0m0fqrn3kxy4swyk4ja1y42dn1i35rq9j85y11wb222qppy2342x"
}
},
{
"goPackagePath": "github.com/odeke-em/xon",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/xon",
"rev": "d580be739d723da4f6378083128f93017b8ab295",
"sha256": "07a7zj01d4a23xqp01m48jp2v5mw49islf4nbq2rj13sd5w4s6sc"
}
},
{
"goPackagePath": "github.com/odeke-em/cache",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/cache",
"rev": "b51b08cb6cf889deda6c941a5205baecfd16f3eb",
"sha256": "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4"
}
},
{
"goPackagePath": "github.com/odeke-em/command",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/command",
"rev": "91ca5ec5e9a1bc2668b1ccbe0967e04a349e3561",
"sha256": "1ghckzr8h99ckagpmb15p61xazdjmf9mjmlym634hsr9vcj84v62"
}
},
{
"goPackagePath": "github.com/odeke-em/log",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/log",
"rev": "cad53c4565a0b0304577bd13f3862350bdc5f907",
"sha256": "059c933qjikxlvaywzpzljqnab19svymbv6x32pc7khw156fh48w"
}
},
{
"goPackagePath": "github.com/odeke-em/pretty-words",
"fetch": {
"type": "git",
"url": "https://github.com/odeke-em/pretty-words",
"rev": "9d37a7fcb4ae6f94b288d371938482994458cecb",
"sha256": "1466wjhrg9lhqmzil1vf8qj16fxk32b5kxlcccyw2x6dybqa6pkl"
}
},
{
"goPackagePath": "github.com/skratchdot/open-golang",
"fetch": {
"type": "git",
"url": "https://github.com/skratchdot/open-golang",
"rev": "c8748311a7528d0ba7330d302adbc5a677ef9c9e",
"sha256": "0qhn2d00v3m9fiqk9z7swdm599clc6j7rnli983s8s1byyp0x3ac"
}
}
]

View File

@ -0,0 +1,164 @@
[
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
};
}
{
goPackagePath = "google.golang.org/api";
fetch = {
type = "git";
url = "https://code.googlesource.com/google-api-go-client";
rev = "a5c3e2a4792aff40e59840d9ecdff0542a202a80";
sha256 = "1kigddnbyrl9ddpj5rs8njvf1ck54ipi4q1282k0d6b3am5qfbj8";
};
}
{
goPackagePath = "google.golang.org/cloud";
fetch = {
type = "git";
url = "https://code.googlesource.com/gocloud";
rev = "6335269abf9002cf5a84613c13cda6010842b834";
sha256 = "15xrqxna5ms0r634k3bfzyymn431dvqcjwbsap8ay60x371kzbwf";
};
}
{
goPackagePath = "golang.org/x/oauth2";
fetch = {
type = "git";
url = "https://go.googlesource.com/oauth2";
rev = "397fe7649477ff2e8ced8fc0b2696f781e53745a";
sha256 = "0fza0l7iwh6llkq2yzqn7dxi138vab0da64lnghfj1p71fprjzn8";
};
}
{
goPackagePath = "github.com/mattn/go-isatty";
fetch = {
type = "git";
url = "https://github.com/mattn/go-isatty";
rev = "ae0b1f8f8004be68d791a576e3d8e7648ab41449";
sha256 = "0qrcsh7j9mxcaspw8lfxh9hhflz55vj4aq1xy00v78301czq6jlj";
};
}
{
goPackagePath = "github.com/boltdb/bolt";
fetch = {
type = "git";
url = "https://github.com/boltdb/bolt";
rev = "957d850b5158a4eebf915476058e720f43459584";
sha256 = "193adhhsqdy0kyq1l1fi8pg2n6pwyrw4h607qm78qyi26f8i7vzf";
};
}
{
goPackagePath = "github.com/cheggaaa/pb";
fetch = {
type = "git";
url = "https://github.com/cheggaaa/pb";
rev = "e648e12b78cedf14ebb2fc1855033f07b034cfbb";
sha256 = "03k4cars7hcqqgdsd0minfls2p7gjpm8q6y8vknh1s68kvxd4xam";
};
}
{
goPackagePath = "github.com/odeke-em/cli-spinner";
fetch = {
type = "git";
url = "https://github.com/odeke-em/cli-spinner";
rev = "610063bb4aeef25f7645b3e6080456655ec0fb33";
sha256 = "13wzs2qrxd72ah32ym0ppswhvyimjw5cqaq3q153y68vlvxd048c";
};
}
{
goPackagePath = "github.com/odeke-em/statos";
fetch = {
type = "git";
url = "https://github.com/odeke-em/statos";
rev = "f27d6ab69b62abd9d9fe80d355e23a3e45d347d6";
sha256 = "17cpks8bi9i7p8j38x0wy60jb9g39wbzszcmhx4hlq6yzxr04jvs";
};
}
{
goPackagePath = "github.com/odeke-em/exponential-backoff";
fetch = {
type = "git";
url = "https://github.com/odeke-em/exponential-backoff";
rev = "96e25d36ae36ad09ac02cbfe653b44c4043a8e09";
sha256 = "1as21p2jj8xpahvdxqwsw2i1s3fll14dlc9j192iq7xl1ybwpqs6";
};
}
{
goPackagePath = "github.com/odeke-em/extractor";
fetch = {
type = "git";
url = "https://github.com/odeke-em/extractor";
rev = "801861aedb854c7ac5e1329e9713023e9dc2b4d4";
sha256 = "036zmnqxy48h6mxiwywgxix2p4fqvl4svlmcp734ri2rbq3cmxs1";
};
}
{
goPackagePath = "github.com/odeke-em/meddler";
fetch = {
type = "git";
url = "https://github.com/odeke-em/meddler";
rev = "d2b51d2b40e786ab5f810d85e65b96404cf33570";
sha256 = "0m0fqrn3kxy4swyk4ja1y42dn1i35rq9j85y11wb222qppy2342x";
};
}
{
goPackagePath = "github.com/odeke-em/xon";
fetch = {
type = "git";
url = "https://github.com/odeke-em/xon";
rev = "d580be739d723da4f6378083128f93017b8ab295";
sha256 = "07a7zj01d4a23xqp01m48jp2v5mw49islf4nbq2rj13sd5w4s6sc";
};
}
{
goPackagePath = "github.com/odeke-em/cache";
fetch = {
type = "git";
url = "https://github.com/odeke-em/cache";
rev = "b51b08cb6cf889deda6c941a5205baecfd16f3eb";
sha256 = "1rmm1ky7irqypqjkk6qcd2n0xkzpaggdxql9dp9i9qci5rvvwwd4";
};
}
{
goPackagePath = "github.com/odeke-em/command";
fetch = {
type = "git";
url = "https://github.com/odeke-em/command";
rev = "91ca5ec5e9a1bc2668b1ccbe0967e04a349e3561";
sha256 = "1ghckzr8h99ckagpmb15p61xazdjmf9mjmlym634hsr9vcj84v62";
};
}
{
goPackagePath = "github.com/odeke-em/log";
fetch = {
type = "git";
url = "https://github.com/odeke-em/log";
rev = "cad53c4565a0b0304577bd13f3862350bdc5f907";
sha256 = "059c933qjikxlvaywzpzljqnab19svymbv6x32pc7khw156fh48w";
};
}
{
goPackagePath = "github.com/odeke-em/pretty-words";
fetch = {
type = "git";
url = "https://github.com/odeke-em/pretty-words";
rev = "9d37a7fcb4ae6f94b288d371938482994458cecb";
sha256 = "1466wjhrg9lhqmzil1vf8qj16fxk32b5kxlcccyw2x6dybqa6pkl";
};
}
{
goPackagePath = "github.com/skratchdot/open-golang";
fetch = {
type = "git";
url = "https://github.com/skratchdot/open-golang";
rev = "c8748311a7528d0ba7330d302adbc5a677ef9c9e";
sha256 = "0qhn2d00v3m9fiqk9z7swdm599clc6j7rnli983s8s1byyp0x3ac";
};
}
]

View File

@ -18,7 +18,7 @@ buildGoPackage rec {
sha256 = "1dmgbg4ak3jkbgmxh0lr4hga1nl623mh7pvsgby1rxl4ivbzwkh4"; sha256 = "1dmgbg4ak3jkbgmxh0lr4hga1nl623mh7pvsgby1rxl4ivbzwkh4";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
buildInputs = [ trousers pkgconfig gtk3 gtkspell3 ] buildInputs = [ trousers pkgconfig gtk3 gtkspell3 ]
++ stdenv.lib.optional isx86_64 dclxvi ++ stdenv.lib.optional isx86_64 dclxvi

View File

@ -1,47 +0,0 @@
[
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
}
},
{
"goPackagePath": "github.com/agl/ed25519",
"fetch": {
"type": "git",
"url": "https://github.com/agl/ed25519",
"rev": "278e1ec8e8a6e017cd07577924d6766039146ced",
"sha256": "165d89cc6dl28j4hkn86pny0jz3sa6hamzdvpvwdj4iha3x6lzc9"
}
},
{
"goPackagePath": "github.com/golang/protobuf",
"fetch": {
"type": "git",
"url": "https://github.com/golang/protobuf",
"rev": "59b73b37c1e45995477aae817e4a653c89a858db",
"sha256": "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa"
}
},
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
}
},
{
"goPackagePath": "github.com/agl/go-gtk",
"fetch": {
"type": "git",
"url": "https://github.com/agl/go-gtk",
"rev": "91c1edb38c241d73129e6b098ca1c9fa83abfc15",
"sha256": "156ixlhakpqgyp35rsvmndrqz8aggv5bcmzg9ynpri3b9j6kim4d"
}
}
]

View File

@ -0,0 +1,47 @@
[
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
};
}
{
goPackagePath = "github.com/agl/ed25519";
fetch = {
type = "git";
url = "https://github.com/agl/ed25519";
rev = "278e1ec8e8a6e017cd07577924d6766039146ced";
sha256 = "165d89cc6dl28j4hkn86pny0jz3sa6hamzdvpvwdj4iha3x6lzc9";
};
}
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "59b73b37c1e45995477aae817e4a653c89a858db";
sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
};
}
{
goPackagePath = "github.com/agl/go-gtk";
fetch = {
type = "git";
url = "https://github.com/agl/go-gtk";
rev = "91c1edb38c241d73129e6b098ca1c9fa83abfc15";
sha256 = "156ixlhakpqgyp35rsvmndrqz8aggv5bcmzg9ynpri3b9j6kim4d";
};
}
]

View File

@ -13,7 +13,7 @@ buildGoPackage rec {
sha256 = "0a1r08zs723ikcskmn6ylkdi3frcd0i0lkx30i9q39ilf734v253"; sha256 = "0a1r08zs723ikcskmn6ylkdi3frcd0i0lkx30i9q39ilf734v253";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An XMPP client with OTR support"; description = "An XMPP client with OTR support";

View File

@ -1,20 +0,0 @@
[
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
}
}
]

View File

@ -0,0 +1,20 @@
[
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
};
}
]

View File

@ -1,38 +0,0 @@
[
{
"goPackagePath": "github.com/cenkalti/backoff",
"fetch": {
"type": "git",
"url": "https://github.com/cenkalti/backoff",
"rev": "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6",
"sha256": "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh"
}
},
{
"goPackagePath": "github.com/gobwas/glob",
"fetch": {
"type": "git",
"url": "https://github.com/gobwas/glob",
"rev": "ce6abff51712df5da11095fb41dd4b0353559797",
"sha256": "1gxv4nnn3f9hw1ncdmhsr8fbfdma2h713ima7b4k28gxydfa8i9m"
}
},
{
"goPackagePath": "github.com/syncthing/syncthing",
"fetch": {
"type": "git",
"url": "https://github.com/syncthing/syncthing",
"rev": "66a506e72b9dcc749d09a03cb120ba86bbf3d7f8",
"sha256": "0is4f1r3im2bbmbca9fafzxffikxaf86vd6f851831fk5wi4pzw9"
}
},
{
"goPackagePath": "github.com/zillode/notify",
"fetch": {
"type": "git",
"url": "https://github.com/zillode/notify",
"rev": "2da5cc9881e8f16bab76b63129c7781898f97d16",
"sha256": "0qwsj730p5mivp2xw9zr5vq8xr7rr9cxjmi564wgmsn7dcvqnr40"
}
}
]

View File

@ -0,0 +1,38 @@
[
{
goPackagePath = "github.com/cenkalti/backoff";
fetch = {
type = "git";
url = "https://github.com/cenkalti/backoff";
rev = "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6";
sha256 = "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh";
};
}
{
goPackagePath = "github.com/gobwas/glob";
fetch = {
type = "git";
url = "https://github.com/gobwas/glob";
rev = "ce6abff51712df5da11095fb41dd4b0353559797";
sha256 = "1gxv4nnn3f9hw1ncdmhsr8fbfdma2h713ima7b4k28gxydfa8i9m";
};
}
{
goPackagePath = "github.com/syncthing/syncthing";
fetch = {
type = "git";
url = "https://github.com/syncthing/syncthing";
rev = "66a506e72b9dcc749d09a03cb120ba86bbf3d7f8";
sha256 = "0is4f1r3im2bbmbca9fafzxffikxaf86vd6f851831fk5wi4pzw9";
};
}
{
goPackagePath = "github.com/zillode/notify";
fetch = {
type = "git";
url = "https://github.com/zillode/notify";
rev = "2da5cc9881e8f16bab76b63129c7781898f97d16";
sha256 = "0qwsj730p5mivp2xw9zr5vq8xr7rr9cxjmi564wgmsn7dcvqnr40";
};
}
]

View File

@ -13,7 +13,7 @@ buildGoPackage rec {
sha256 = "194pbz9zzxaz0vri93czpbsxl85znlba2gy61mjgyr0dm2h4s6yw"; sha256 = "194pbz9zzxaz0vri93czpbsxl85znlba2gy61mjgyr0dm2h4s6yw";
}; };
goDeps = ./inotify-deps.json; goDeps = ./inotify-deps.nix;
meta = { meta = {
homepage = https://github.com/syncthing/syncthing-inotify; homepage = https://github.com/syncthing/syncthing-inotify;

View File

@ -16,7 +16,7 @@ buildGoPackage rec {
sha256 = "0g4sj509h45iq6g7b0pl88rbbn7c7s01774yjc6bl376x1xrl6a1"; sha256 = "0g4sj509h45iq6g7b0pl88rbbn7c7s01774yjc6bl376x1xrl6a1";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
postPatch = '' postPatch = ''
# Mostly a cosmetic change # Mostly a cosmetic change

View File

@ -1,128 +0,0 @@
[
{
"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"
}
}
]

View File

@ -0,0 +1,128 @@
[
{
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";
};
}
]

View File

@ -13,5 +13,5 @@ buildGoPackage rec {
sha256 = "1139rzdvlj3hanqsccfinprvrzf4qjc5n4f0r21jp9j24yhjs6j2"; sha256 = "1139rzdvlj3hanqsccfinprvrzf4qjc5n4f0r21jp9j24yhjs6j2";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,20 +0,0 @@
[
{
"goPackagePath": "github.com/pquerna/ffjson",
"fetch": {
"type": "git",
"url": "https://github.com/pquerna/ffjson",
"rev": "674bc015b5b3f50f9bb2561179778586b9af68c5",
"sha256": "0l53q7b1g25hfjm1iyynfs413rpav4c51yvdr244ivw1x3hksa7a"
}
},
{
"goPackagePath": "gopkg.in/kothar/go-backblaze.v0",
"fetch": {
"type": "git",
"url": "https://gopkg.in/kothar/go-backblaze.v0",
"rev": "373819725fc560fa962c6cd883b533d2ebec4844",
"sha256": "1kmlwfnnfd4h46bb9pz2gw1hxqm1pzkwvidfmnc0zkrilaywk6fx"
}
}
]

View File

@ -0,0 +1,20 @@
[
{
goPackagePath = "github.com/pquerna/ffjson";
fetch = {
type = "git";
url = "https://github.com/pquerna/ffjson";
rev = "674bc015b5b3f50f9bb2561179778586b9af68c5";
sha256 = "0l53q7b1g25hfjm1iyynfs413rpav4c51yvdr244ivw1x3hksa7a";
};
}
{
goPackagePath = "gopkg.in/kothar/go-backblaze.v0";
fetch = {
type = "git";
url = "https://gopkg.in/kothar/go-backblaze.v0";
rev = "373819725fc560fa962c6cd883b533d2ebec4844";
sha256 = "1kmlwfnnfd4h46bb9pz2gw1hxqm1pzkwvidfmnc0zkrilaywk6fx";
};
}
]

View File

@ -56,7 +56,7 @@ let
}; };
importGodeps = { depsFile }: importGodeps = { depsFile }:
map dep2src (lib.importJSON depsFile); map dep2src (import depsFile);
goPath = if goDeps != null then importGodeps { depsFile = goDeps; } ++ extraSrcs goPath = if goDeps != null then importGodeps { depsFile = goDeps; } ++ extraSrcs
else extraSrcs; else extraSrcs;
@ -180,6 +180,16 @@ go.stdenv.mkDerivation (
done < <(find $bin/bin -type f 2>/dev/null) done < <(find $bin/bin -type f 2>/dev/null)
''; '';
shellHook = ''
d=$(mktemp -d "--suffix=-$name")
'' + toString (map (dep: ''
mkdir -p "$d/src/$(dirname "${dep.goPackagePath}")"
ln -s "${dep.src}" "$d/src/${dep.goPackagePath}"
''
) goPath) + ''
export GOPATH="$d:$GOPATH"
'';
disallowedReferences = lib.optional (!allowGoReference) go disallowedReferences = lib.optional (!allowGoReference) go
++ lib.optional (!dontRenameImports) govers; ++ lib.optional (!dontRenameImports) govers;

View File

@ -21,5 +21,5 @@ buildGoPackage rec {
sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw"; sha256 = "1qv9lxqx7m18029lj8cw3k7jngvxs4iciwrypdy0gd2nnghc68sw";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,29 +0,0 @@
[
{
"goPackagePath": "gopkg.in/yaml.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/yaml.v2",
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
}
},
{
"goPackagePath": "github.com/docopt/docopt-go",
"fetch": {
"type": "git",
"url": "https://github.com/docopt/docopt-go",
"rev": "784ddc588536785e7299f7272f39101f7faccc3f",
"sha256": "0wwz48jl9fvl1iknvn9dqr4gfy1qs03gxaikrxxp9gry6773v3sj"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
}
}
]

View File

@ -0,0 +1,29 @@
[
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
{
goPackagePath = "github.com/docopt/docopt-go";
fetch = {
type = "git";
url = "https://github.com/docopt/docopt-go";
rev = "784ddc588536785e7299f7272f39101f7faccc3f";
sha256 = "0wwz48jl9fvl1iknvn9dqr4gfy1qs03gxaikrxxp9gry6773v3sj";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
};
}
]

View File

@ -13,5 +13,5 @@ buildGoPackage rec {
sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4"; sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
}; };
buildInputs = [ gotools ]; goDeps = ./deps.nix;
} }

View File

@ -0,0 +1,20 @@
[
{
goPackagePath = "golang.org/x/tools/go/vcs";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "9ae4729fba20b3533d829a9c6ba8195b068f2abc";
sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1";
};
}
{
goPackagePath = "code.google.com/p/go.tools/go/vcs";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "9ae4729fba20b3533d829a9c6ba8195b068f2abc";
sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1";
};
}
]

View File

@ -3,7 +3,7 @@
buildGoPackage rec { buildGoPackage rec {
name = "go2nix-${version}"; name = "go2nix-${version}";
version = "0.1.0"; version = "1.1.0";
rev = "v${version}"; rev = "v${version}";
goPackagePath = "github.com/kamilchm/go2nix"; goPackagePath = "github.com/kamilchm/go2nix";
@ -12,10 +12,10 @@ buildGoPackage rec {
inherit rev; inherit rev;
owner = "kamilchm"; owner = "kamilchm";
repo = "go2nix"; repo = "go2nix";
sha256 = "10nz7gva3n6wk01wphrjjb31sy33kf9ji03zr849x21a669fnmjf"; sha256 = "0asbbcyf1hh8khakych0y09rjarjiywr8pyy1v8ghpr1vvg43a09";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
buildInputs = [ go-bindata goimports makeWrapper ]; buildInputs = [ go-bindata goimports makeWrapper ];
preBuild = ''go generate ./...''; preBuild = ''go generate ./...'';

View File

@ -1,20 +0,0 @@
[
{
"goPackagePath": "github.com/Masterminds/vcs",
"fetch": {
"type": "git",
"url": "https://github.com/Masterminds/vcs",
"rev": "7af28b64c5ec41b1558f5514fd938379822c237c",
"sha256": "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6"
}
},
{
"goPackagePath": "github.com/jawher/mow.cli",
"fetch": {
"type": "git",
"url": "https://github.com/jawher/mow.cli",
"rev": "772320464101e904cd51198160eb4d489be9cc49",
"sha256": "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j"
}
}
]

View File

@ -0,0 +1,20 @@
[
{
goPackagePath = "github.com/Masterminds/vcs";
fetch = {
type = "git";
url = "https://github.com/Masterminds/vcs";
rev = "7af28b64c5ec41b1558f5514fd938379822c237c";
sha256 = "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6";
};
}
{
goPackagePath = "github.com/jawher/mow.cli";
fetch = {
type = "git";
url = "https://github.com/jawher/mow.cli";
rev = "772320464101e904cd51198160eb4d489be9cc49";
sha256 = "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j";
};
}
]

View File

@ -14,5 +14,5 @@ buildGoPackage rec {
sha256 = "024dllcmpg8lx78cqgq551i6f9w6qlykfcx8l7yazak9kjwhpwjg"; sha256 = "024dllcmpg8lx78cqgq551i6f9w6qlykfcx8l7yazak9kjwhpwjg";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "golang.org/x/tools",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/tools",
"rev": "9ae4729fba20b3533d829a9c6ba8195b068f2abc",
"sha256": "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "9ae4729fba20b3533d829a9c6ba8195b068f2abc";
sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1"; sha256 = "1j51aaskfqc953p5s9naqimr04hzfijm4yczdsiway1xnnvvpfr1";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
preConfigure = '' preConfigure = ''
# Make the builtin tools available here # Make the builtin tools available here

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
};
}
]

View File

@ -14,5 +14,5 @@ buildGoPackage rec {
sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1"; sha256 = "14jb2vgfr6dv7zlw8i3ilmp125m5l28ljv41a66c9b8gijhm48k1";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "github.com/mitchellh/iochan",
"fetch": {
"type": "git",
"url": "https://github.com/mitchellh/iochan",
"rev": "b584a329b193e206025682ae6c10cdbe03b0cd77",
"sha256": "1fcwdhfci41ibpng2j4c1bqfng578cwzb3c00yw1lnbwwhaq9r6b"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/mitchellh/iochan";
fetch = {
type = "git";
url = "https://github.com/mitchellh/iochan";
rev = "b584a329b193e206025682ae6c10cdbe03b0cd77";
sha256 = "1fcwdhfci41ibpng2j4c1bqfng578cwzb3c00yw1lnbwwhaq9r6b";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
fetchSubmodules = false; fetchSubmodules = false;
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
meta = { meta = {
description = "A pair programming tool and library written in Golang"; description = "A pair programming tool and library written in Golang";
homepage = "https://github.com/jeffail/leaps/"; homepage = "https://github.com/jeffail/leaps/";

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "07b51741c1d6423d4a6abab1c49940ec09cb1aaf",
"sha256": "12lvdj0k2gww4hw5f79qb9yswqpy4i3bgv1likmf3mllgdxfm20w"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "07b51741c1d6423d4a6abab1c49940ec09cb1aaf";
sha256 = "12lvdj0k2gww4hw5f79qb9yswqpy4i3bgv1likmf3mllgdxfm20w";
};
}
]

View File

@ -12,7 +12,7 @@ buildGoPackage rec {
sha256 = "0lhsqca3lq3xvdwsmrngv4p6b7k2lkbfnxnk5qj6jdd5y7f4b496"; sha256 = "0lhsqca3lq3xvdwsmrngv4p6b7k2lkbfnxnk5qj6jdd5y7f4b496";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
meta = with lib; { meta = with lib; {
description = "Convert between TOML, YAML and JSON"; description = "Convert between TOML, YAML and JSON";

View File

@ -1,20 +0,0 @@
[
{
"goPackagePath": "gopkg.in/yaml.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/yaml.v2",
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
}
},
{
"goPackagePath": "github.com/BurntSushi/toml",
"fetch": {
"type": "git",
"url": "https://github.com/BurntSushi/toml",
"rev": "056c9bc7be7190eaa7715723883caffa5f8fa3e4",
"sha256": "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"
}
}
]

View File

@ -0,0 +1,20 @@
[
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4";
sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3"; sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Execute SQL against structured text like CSV or TSV"; description = "Execute SQL against structured text like CSV or TSV";

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "github.com/mattn/go-sqlite3",
"fetch": {
"type": "git",
"url": "https://github.com/mattn/go-sqlite3",
"rev": "b4142c444a8941d0d92b0b7103a24df9cd815e42",
"sha256": "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
url = "https://github.com/mattn/go-sqlite3";
rev = "b4142c444a8941d0d92b0b7103a24df9cd815e42";
sha256 = "0xq2y4am8dz9w9aaq24s1npg1sn8pf2gn4nki73ylz2fpjwq9vla";
};
}
]

View File

@ -14,5 +14,5 @@ buildGoPackage rec {
sha256 = "15d9ivg1a9v9c2n0a9pfw74952xhd4vqgx8d60dhvif9lx1d8wlq"; sha256 = "15d9ivg1a9v9c2n0a9pfw74952xhd4vqgx8d60dhvif9lx1d8wlq";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,74 +0,0 @@
[
{
"goPackagePath": "golang.org/x/sys",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/sys",
"rev": "d9157a9621b69ad1d8d77a1933590c416593f24f",
"sha256": "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931"
}
},
{
"goPackagePath": "github.com/dustin/go-humanize",
"fetch": {
"type": "git",
"url": "https://github.com/dustin/go-humanize",
"rev": "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0",
"sha256": "1g155kxjh6hd3ibx41nbpj6f7h5bh54zgl9dr53xzg2xlxljgjy0"
}
},
{
"goPackagePath": "github.com/tdewolff/buffer",
"fetch": {
"type": "git",
"url": "https://github.com/tdewolff/buffer",
"rev": "0edfcb7b750146ff879e95831de2ef53605a5cb5",
"sha256": "1mdd4k9byp22mw0a399j3w73zjb5g0vn58g76rjy7ajb0dzm80vl"
}
},
{
"goPackagePath": "github.com/tdewolff/parse",
"fetch": {
"type": "git",
"url": "https://github.com/tdewolff/parse",
"rev": "34d5c1160d4503da4b456e5094609f2331d6dde3",
"sha256": "0hxf65fgkrc1q4p99p33xxxy1s6wxpn1vfsnqf9p846awwbqsy0v"
}
},
{
"goPackagePath": "github.com/tdewolff/strconv",
"fetch": {
"type": "git",
"url": "https://github.com/tdewolff/strconv",
"rev": "3e8091f4417ebaaa3910da63a45ea394ebbfb0e3",
"sha256": "00w2mryfjhz3vaqzxvbwvyhi1vgpc1s4xfv1r9hxn8hwa078q5gp"
}
},
{
"goPackagePath": "github.com/matryer/try",
"fetch": {
"type": "git",
"url": "https://github.com/matryer/try",
"rev": "93d30e50512f879b73829eb79867df38084bcd31",
"sha256": "0dmc8iar9685ks1ba3vnycjsx8qxwyqv51jb7677dvwnzbqhgw6f"
}
},
{
"goPackagePath": "github.com/fsnotify/fsnotify",
"fetch": {
"type": "git",
"url": "https://github.com/fsnotify/fsnotify",
"rev": "30411dbcefb7a1da7e84f75530ad3abe4011b4f8",
"sha256": "0kbpvyi6p9942k0vmcw5z13mja47f7hq7nqd332pn2zydss6kddm"
}
},
{
"goPackagePath": "github.com/ogier/pflag",
"fetch": {
"type": "git",
"url": "https://github.com/ogier/pflag",
"rev": "45c278ab3607870051a2ea9040bb85fcb8557481",
"sha256": "0620v75wppfd84d95n312wpngcb73cph4q3ivs1h0waljfnsrd5l"
}
}
]

View File

@ -0,0 +1,74 @@
[
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d9157a9621b69ad1d8d77a1933590c416593f24f";
sha256 = "1asdbp7rj1j1m1aar1a022wpcwbml6zih6cpbxaw7b2m8v8is931";
};
}
{
goPackagePath = "github.com/dustin/go-humanize";
fetch = {
type = "git";
url = "https://github.com/dustin/go-humanize";
rev = "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0";
sha256 = "1g155kxjh6hd3ibx41nbpj6f7h5bh54zgl9dr53xzg2xlxljgjy0";
};
}
{
goPackagePath = "github.com/tdewolff/buffer";
fetch = {
type = "git";
url = "https://github.com/tdewolff/buffer";
rev = "0edfcb7b750146ff879e95831de2ef53605a5cb5";
sha256 = "1mdd4k9byp22mw0a399j3w73zjb5g0vn58g76rjy7ajb0dzm80vl";
};
}
{
goPackagePath = "github.com/tdewolff/parse";
fetch = {
type = "git";
url = "https://github.com/tdewolff/parse";
rev = "34d5c1160d4503da4b456e5094609f2331d6dde3";
sha256 = "0hxf65fgkrc1q4p99p33xxxy1s6wxpn1vfsnqf9p846awwbqsy0v";
};
}
{
goPackagePath = "github.com/tdewolff/strconv";
fetch = {
type = "git";
url = "https://github.com/tdewolff/strconv";
rev = "3e8091f4417ebaaa3910da63a45ea394ebbfb0e3";
sha256 = "00w2mryfjhz3vaqzxvbwvyhi1vgpc1s4xfv1r9hxn8hwa078q5gp";
};
}
{
goPackagePath = "github.com/matryer/try";
fetch = {
type = "git";
url = "https://github.com/matryer/try";
rev = "93d30e50512f879b73829eb79867df38084bcd31";
sha256 = "0dmc8iar9685ks1ba3vnycjsx8qxwyqv51jb7677dvwnzbqhgw6f";
};
}
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
type = "git";
url = "https://github.com/fsnotify/fsnotify";
rev = "30411dbcefb7a1da7e84f75530ad3abe4011b4f8";
sha256 = "0kbpvyi6p9942k0vmcw5z13mja47f7hq7nqd332pn2zydss6kddm";
};
}
{
goPackagePath = "github.com/ogier/pflag";
fetch = {
type = "git";
url = "https://github.com/ogier/pflag";
rev = "45c278ab3607870051a2ea9040bb85fcb8557481";
sha256 = "0620v75wppfd84d95n312wpngcb73cph4q3ivs1h0waljfnsrd5l";
};
}
]

View File

@ -101,7 +101,7 @@ rec {
fzfWrapper = buildVimPluginFrom2Nix { fzfWrapper = buildVimPluginFrom2Nix {
name = fzf.name; name = fzf.name;
src = "${fzf}/share/go/src/github.com/junegunn/fzf"; src = fzf.src;
dependencies = []; dependencies = [];
}; };

View File

@ -20,5 +20,5 @@ buildGoPackage rec {
-X github.com/mholt/caddy/caddy/caddymain.gitTag=${version} -X github.com/mholt/caddy/caddy/caddymain.gitTag=${version}
''; '';
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,182 +0,0 @@
[
{
"goPackagePath": "github.com/BurntSushi/toml",
"fetch": {
"type": "git",
"url": "https://github.com/BurntSushi/toml",
"rev": "99064174e013895bbd9b025c31100bd1d9b590ca",
"sha256": "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9"
}
},
{
"goPackagePath": "github.com/dustin/go-humanize",
"fetch": {
"type": "git",
"url": "https://github.com/dustin/go-humanize",
"rev": "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8",
"sha256": "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k"
}
},
{
"goPackagePath": "github.com/flynn/go-shlex",
"fetch": {
"type": "git",
"url": "https://github.com/flynn/go-shlex",
"rev": "3f9db97f856818214da2e1057f8ad84803971cff",
"sha256": "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia"
}
},
{
"goPackagePath": "github.com/gorilla/websocket",
"fetch": {
"type": "git",
"url": "https://github.com/gorilla/websocket",
"rev": "a69d25be2fe2923a97c2af6849b2f52426f68fc0",
"sha256": "1z09mff5yfdrw8vbylrgrick5m5hczjy8m2x6swdq8v062s45g3v"
}
},
{
"goPackagePath": "github.com/hashicorp/go-syslog",
"fetch": {
"type": "git",
"url": "https://github.com/hashicorp/go-syslog",
"rev": "315de0c1920b18b942603ffdc2229e2af4803c17",
"sha256": "1z0kinqp8hbl7hw856jhx41ys97rc6hflcgwrkfyxj5fdx60xis6"
}
},
{
"goPackagePath": "github.com/jimstudt/http-authentication",
"fetch": {
"type": "git",
"url": "https://github.com/jimstudt/http-authentication",
"rev": "3eca13d6893afd7ecabe15f4445f5d2872a1b012",
"sha256": "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08"
}
},
{
"goPackagePath": "github.com/lucas-clemente/aes12",
"fetch": {
"type": "git",
"url": "https://github.com/lucas-clemente/aes12",
"rev": "5a3c52721c1e81aa8162601ac2342486525156d5",
"sha256": "16z4h752na2d4sskjvbgi9bpwx874lpnzn6i13n33xjz599nps4y"
}
},
{
"goPackagePath": "github.com/lucas-clemente/fnv128a",
"fetch": {
"type": "git",
"url": "https://github.com/lucas-clemente/fnv128a",
"rev": "393af48d391698c6ae4219566bfbdfef67269997",
"sha256": "1cvq0p0k86p668yz9rb3z98fz3f9phvbvqp6ilbasiy4y2x5w184"
}
},
{
"goPackagePath": "github.com/lucas-clemente/quic-go",
"fetch": {
"type": "git",
"url": "https://github.com/lucas-clemente/quic-go",
"rev": "c2af049b8af811a546bfa6b11f362c9c1e706343",
"sha256": "178w1qzpkyrkcnix093lj6dhgg5nylxg0aqmiff6f9ww2xknlw47"
}
},
{
"goPackagePath": "github.com/lucas-clemente/quic-go-certificates",
"fetch": {
"type": "git",
"url": "https://github.com/lucas-clemente/quic-go-certificates",
"rev": "4904164a1a6479e3b509f616ccd31a7b0e705d52",
"sha256": "1kpl8j4lqwq1xqkyikbczq8dwrybbgz4m9ny21a88v0da6r2bcfk"
}
},
{
"goPackagePath": "github.com/mholt/caddy",
"fetch": {
"type": "git",
"url": "https://github.com/mholt/caddy",
"rev": "c5aa5843d92a27eaf521e28684111030135d9cdc",
"sha256": "0slh4nf5pd42mgj1j9hzywqpc3p6d211dm6pdlhb6lyn8f6nprgp"
}
},
{
"goPackagePath": "github.com/miekg/dns",
"fetch": {
"type": "git",
"url": "https://github.com/miekg/dns",
"rev": "db96a2b759cdef4f11a34506a42eb8d1290c598e",
"sha256": "0h5n4psd0p7q55jadgsgz2a1aj791yanrfj76avalh6aawvdpcm6"
}
},
{
"goPackagePath": "github.com/russross/blackfriday",
"fetch": {
"type": "git",
"url": "https://github.com/russross/blackfriday",
"rev": "93622da34e54fb6529bfb7c57e710f37a8d9cbd8",
"sha256": "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2"
}
},
{
"goPackagePath": "github.com/shurcooL/sanitized_anchor_name",
"fetch": {
"type": "git",
"url": "https://github.com/shurcooL/sanitized_anchor_name",
"rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77",
"sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01"
}
},
{
"goPackagePath": "github.com/xenolf/lego",
"fetch": {
"type": "git",
"url": "https://github.com/xenolf/lego",
"rev": "823436d61175269716a88cd6627bfa603812f10c",
"sha256": "1j6nkw00d09ys0p4i7k4xad1fxczg3klvnw4x48wr1zaygnpaw7q"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "b3cc7317554b3e708b116d997899e612bab100d6",
"sha256": "1mcrgsvqmghhvf9z99prm15flx9l3irpm20z2zmdmhsprhc0nr5v"
}
},
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "7394c112eae4dba7e96bfcfe738e6373d61772b4",
"sha256": "1p8wsxnbsp2lq6hbza2n0zgv4sgpxzzjjlrmcngkhxj47kp3hin7"
}
},
{
"goPackagePath": "gopkg.in/natefinch/lumberjack.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/natefinch/lumberjack.v2",
"rev": "514cbda263a734ae8caac038dadf05f8f3f9f738",
"sha256": "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82"
}
},
{
"goPackagePath": "gopkg.in/square/go-jose.v1",
"fetch": {
"type": "git",
"url": "https://gopkg.in/square/go-jose.v1",
"rev": "a3927f83df1b1516f9e9dec71839c93e6bcf1db0",
"sha256": "0zbsy6hbv3p0ahcf4hviyv1vnpdywyf1hdspz8l6vj897myd019f"
}
},
{
"goPackagePath": "gopkg.in/yaml.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/yaml.v2",
"rev": "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e",
"sha256": "1himz6569rcgn27q6sdrwvdldx45q2spgjb5cfihgb80zww8di8x"
}
}
]

182
pkgs/servers/caddy/deps.nix Normal file
View File

@ -0,0 +1,182 @@
[
{
goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
rev = "99064174e013895bbd9b025c31100bd1d9b590ca";
sha256 = "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9";
};
}
{
goPackagePath = "github.com/dustin/go-humanize";
fetch = {
type = "git";
url = "https://github.com/dustin/go-humanize";
rev = "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8";
sha256 = "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k";
};
}
{
goPackagePath = "github.com/flynn/go-shlex";
fetch = {
type = "git";
url = "https://github.com/flynn/go-shlex";
rev = "3f9db97f856818214da2e1057f8ad84803971cff";
sha256 = "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a69d25be2fe2923a97c2af6849b2f52426f68fc0";
sha256 = "1z09mff5yfdrw8vbylrgrick5m5hczjy8m2x6swdq8v062s45g3v";
};
}
{
goPackagePath = "github.com/hashicorp/go-syslog";
fetch = {
type = "git";
url = "https://github.com/hashicorp/go-syslog";
rev = "315de0c1920b18b942603ffdc2229e2af4803c17";
sha256 = "1z0kinqp8hbl7hw856jhx41ys97rc6hflcgwrkfyxj5fdx60xis6";
};
}
{
goPackagePath = "github.com/jimstudt/http-authentication";
fetch = {
type = "git";
url = "https://github.com/jimstudt/http-authentication";
rev = "3eca13d6893afd7ecabe15f4445f5d2872a1b012";
sha256 = "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08";
};
}
{
goPackagePath = "github.com/lucas-clemente/aes12";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/aes12";
rev = "5a3c52721c1e81aa8162601ac2342486525156d5";
sha256 = "16z4h752na2d4sskjvbgi9bpwx874lpnzn6i13n33xjz599nps4y";
};
}
{
goPackagePath = "github.com/lucas-clemente/fnv128a";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/fnv128a";
rev = "393af48d391698c6ae4219566bfbdfef67269997";
sha256 = "1cvq0p0k86p668yz9rb3z98fz3f9phvbvqp6ilbasiy4y2x5w184";
};
}
{
goPackagePath = "github.com/lucas-clemente/quic-go";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/quic-go";
rev = "c2af049b8af811a546bfa6b11f362c9c1e706343";
sha256 = "178w1qzpkyrkcnix093lj6dhgg5nylxg0aqmiff6f9ww2xknlw47";
};
}
{
goPackagePath = "github.com/lucas-clemente/quic-go-certificates";
fetch = {
type = "git";
url = "https://github.com/lucas-clemente/quic-go-certificates";
rev = "4904164a1a6479e3b509f616ccd31a7b0e705d52";
sha256 = "1kpl8j4lqwq1xqkyikbczq8dwrybbgz4m9ny21a88v0da6r2bcfk";
};
}
{
goPackagePath = "github.com/mholt/caddy";
fetch = {
type = "git";
url = "https://github.com/mholt/caddy";
rev = "c5aa5843d92a27eaf521e28684111030135d9cdc";
sha256 = "0slh4nf5pd42mgj1j9hzywqpc3p6d211dm6pdlhb6lyn8f6nprgp";
};
}
{
goPackagePath = "github.com/miekg/dns";
fetch = {
type = "git";
url = "https://github.com/miekg/dns";
rev = "db96a2b759cdef4f11a34506a42eb8d1290c598e";
sha256 = "0h5n4psd0p7q55jadgsgz2a1aj791yanrfj76avalh6aawvdpcm6";
};
}
{
goPackagePath = "github.com/russross/blackfriday";
fetch = {
type = "git";
url = "https://github.com/russross/blackfriday";
rev = "93622da34e54fb6529bfb7c57e710f37a8d9cbd8";
sha256 = "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2";
};
}
{
goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
fetch = {
type = "git";
url = "https://github.com/shurcooL/sanitized_anchor_name";
rev = "10ef21a441db47d8b13ebcc5fd2310f636973c77";
sha256 = "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01";
};
}
{
goPackagePath = "github.com/xenolf/lego";
fetch = {
type = "git";
url = "https://github.com/xenolf/lego";
rev = "823436d61175269716a88cd6627bfa603812f10c";
sha256 = "1j6nkw00d09ys0p4i7k4xad1fxczg3klvnw4x48wr1zaygnpaw7q";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "b3cc7317554b3e708b116d997899e612bab100d6";
sha256 = "1mcrgsvqmghhvf9z99prm15flx9l3irpm20z2zmdmhsprhc0nr5v";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "7394c112eae4dba7e96bfcfe738e6373d61772b4";
sha256 = "1p8wsxnbsp2lq6hbza2n0zgv4sgpxzzjjlrmcngkhxj47kp3hin7";
};
}
{
goPackagePath = "gopkg.in/natefinch/lumberjack.v2";
fetch = {
type = "git";
url = "https://gopkg.in/natefinch/lumberjack.v2";
rev = "514cbda263a734ae8caac038dadf05f8f3f9f738";
sha256 = "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82";
};
}
{
goPackagePath = "gopkg.in/square/go-jose.v1";
fetch = {
type = "git";
url = "https://gopkg.in/square/go-jose.v1";
rev = "a3927f83df1b1516f9e9dec71839c93e6bcf1db0";
sha256 = "0zbsy6hbv3p0ahcf4hviyv1vnpdywyf1hdspz8l6vj897myd019f";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e";
sha256 = "1himz6569rcgn27q6sdrwvdldx45q2spgjb5cfihgb80zww8di8x";
};
}
]

View File

@ -16,7 +16,7 @@ buildGoPackage rec {
sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75"; sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
buildInputs = [ libpcap ]; buildInputs = [ libpcap ];

View File

@ -1,335 +0,0 @@
[
{
"goPackagePath": "github.com/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9",
"sha256": "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"
}
},
{
"goPackagePath": "github.com/boltdb/bolt",
"fetch": {
"type": "git",
"url": "https://github.com/boltdb/bolt",
"rev": "583e8937c61f1af6513608ccc75c97b6abdf4ff9",
"sha256": "0cp5v9iypg9ysiq40k3h3lg7aisxplnmxshha7nama6b170izyay"
}
},
{
"goPackagePath": "github.com/cloudfoundry-incubator/candiedyaml",
"fetch": {
"type": "git",
"url": "https://github.com/cloudfoundry-incubator/candiedyaml",
"rev": "99c3df83b51532e3615f851d8c2dbb638f5313bf",
"sha256": "106nibg7423642gbkg88c5x2jxfz6nmxbribhwb8cr1rn9vpjaxs"
}
},
{
"goPackagePath": "github.com/cockroachdb/cmux",
"fetch": {
"type": "git",
"url": "https://github.com/cockroachdb/cmux",
"rev": "b64f5908f4945f4b11ed4a0a9d3cc1e23350866d",
"sha256": "1by4f3x7j3r3z1sdx1v04r494hn6jaag7lc03prrgx455j8i0jlh"
}
},
{
"goPackagePath": "github.com/coreos/etcd",
"fetch": {
"type": "git",
"url": "https://github.com/coreos/etcd.git",
"rev": "9efa00d1030d4bf62eb8e5ec130023aeb1b8e2d0",
"sha256": "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75"
}
},
{
"goPackagePath": "github.com/coreos/go-semver",
"fetch": {
"type": "git",
"url": "https://github.com/coreos/go-semver",
"rev": "8ab6407b697782a06568d4b7f1db25550ec2e4c6",
"sha256": "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0"
}
},
{
"goPackagePath": "github.com/coreos/go-systemd",
"fetch": {
"type": "git",
"url": "https://github.com/coreos/go-systemd",
"rev": "5c49e4850c879a0ddc061e8f4adcf307de8a8bc2",
"sha256": "1w16bnrgfjb5rwha7g8rdjhpgjf8bzmlzhrda5bfvc9ymj3qjibk"
}
},
{
"goPackagePath": "github.com/coreos/pkg",
"fetch": {
"type": "git",
"url": "https://github.com/coreos/pkg",
"rev": "3ac0863d7acf3bc44daf49afef8919af12f704ef",
"sha256": "0l5ans1ls2gknkrnhymgc0zbgg5nqjbjbqc51r611adcr0m6gg8l"
}
},
{
"goPackagePath": "github.com/ghodss/yaml",
"fetch": {
"type": "git",
"url": "https://github.com/ghodss/yaml",
"rev": "aa0c862057666179de291b67d9f093d12b5a8473",
"sha256": "0cbc78n8l7h1gdzhrvahplcvr4v7n8v23vkgskfp843rcx5h6isr"
}
},
{
"goPackagePath": "github.com/gogo/protobuf",
"fetch": {
"type": "git",
"url": "https://github.com/gogo/protobuf",
"rev": "f20a1444730c7d9949b880a0309e737d007def25",
"sha256": "12wa3r2cb2v1m65phbkh692ldlklk459z4x6avpc6im0zkr6r73c"
}
},
{
"goPackagePath": "github.com/golang/protobuf",
"fetch": {
"type": "git",
"url": "https://github.com/golang/protobuf",
"rev": "f592bd283e9ef86337a432eb50e592278c3d534d",
"sha256": "01gxhzn9m6jz6ihwxfycnx39zf5pmkan61l278cnynsb8mibdpvb"
}
},
{
"goPackagePath": "github.com/google/btree",
"fetch": {
"type": "git",
"url": "https://github.com/google/btree",
"rev": "7d79101e329e5a3adf994758c578dab82b90c017",
"sha256": "1c1hsy5s2pfawg3l9954jmqmy4yc2zp3f7i87m00km2yqgb8xpd0"
}
},
{
"goPackagePath": "github.com/grpc-ecosystem/grpc-gateway",
"fetch": {
"type": "git",
"url": "https://github.com/grpc-ecosystem/grpc-gateway",
"rev": "5e0e028ba0a015710eaebf6e47af18812c9f2767",
"sha256": "00s4wxzs6lz5al7y2hxi6r4bxhx5b0ajk5rwxrnb4a4mhlaii8pk"
}
},
{
"goPackagePath": "github.com/jonboulle/clockwork",
"fetch": {
"type": "git",
"url": "https://github.com/jonboulle/clockwork",
"rev": "e3653ace2d63753697e0e5b07b9393971c0bba9d",
"sha256": "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc"
}
},
{
"goPackagePath": "github.com/matttproud/golang_protobuf_extensions",
"fetch": {
"type": "git",
"url": "https://github.com/matttproud/golang_protobuf_extensions",
"rev": "c12348ce28de40eed0136aa2b644d0ee0650e56c",
"sha256": "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"
}
},
{
"goPackagePath": "github.com/prometheus/client_golang",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/client_golang",
"rev": "c5b7fccd204277076155f10851dad72b76a49317",
"sha256": "1xqny3147g12n4j03kxm8s9mvdbs3ln6i56c655mybrn9jjy48kd"
}
},
{
"goPackagePath": "github.com/prometheus/client_model",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/client_model",
"rev": "fa8ad6fec33561be4280a8f0514318c79d7f6cb6",
"sha256": "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9"
}
},
{
"goPackagePath": "github.com/prometheus/common",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/common",
"rev": "ebdfc6da46522d58825777cf1f90490a5b1ef1d8",
"sha256": "0js62pj8600773wx6labpd772yyhz5ivim7dnl7b862wblbmc8mq"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "abf152e5f3e97f2fafac028d2cc06c1feb87ffa5",
"sha256": "0cp8lznv1b4zhi3wnbjkfxwzhkqd3wbmiy6mwgjanip8l9l3ykws"
}
},
{
"goPackagePath": "github.com/spf13/cobra",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/cobra",
"rev": "7c674d9e72017ed25f6d2b5e497a1368086b6a6f",
"sha256": "0an935r7lc11a744mvdrsy56rs2w0ah3gdclvr4gzd5iqr9ap3dr"
}
},
{
"goPackagePath": "github.com/spf13/pflag",
"fetch": {
"type": "git",
"url": "https://github.com/spf13/pflag",
"rev": "6454a84b6da0ea8b628d5d8a26759f62c6c161b4",
"sha256": "06rfi73jhkncn8gxy6klgmba5947k9gpwdswipdpz680yxczcwna"
}
},
{
"goPackagePath": "github.com/ugorji/go",
"fetch": {
"type": "git",
"url": "https://github.com/ugorji/go",
"rev": "4a1cb5252a6951f715a85d0e4be334c2a2dbf2a2",
"sha256": "0izpijk3piihl4fnqg8ncnp5ivbq41pg3xf7iagg4fbg5id4pxbx"
}
},
{
"goPackagePath": "github.com/xiang90/probing",
"fetch": {
"type": "git",
"url": "https://github.com/xiang90/probing",
"rev": "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2",
"sha256": "0r8rq27yigz72mk8z7p61yjfan8id021dnp1v421ln9byzpvabn2"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "88d0005bf4c3ec17306ecaca4281a8d8efd73e91",
"sha256": "1d3x0rwfd4cml06ka8gy74wxrw94m2z7qgz6ky0rgmxcr7p5iikz"
}
},
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "7394c112eae4dba7e96bfcfe738e6373d61772b4",
"sha256": "1p8wsxnbsp2lq6hbza2n0zgv4sgpxzzjjlrmcngkhxj47kp3hin7"
}
},
{
"goPackagePath": "google.golang.org/grpc",
"fetch": {
"type": "git",
"url": "https://github.com/grpc/grpc-go",
"rev": "0032a855ba5c8a3c8e0d71c2deef354b70af1584",
"sha256": "0qkynp65jwk6jk932k7kwxs5v6fzlfsb1fay71a00dwr36f44s67"
}
},
{
"goPackagePath": "github.com/urfave/cli",
"fetch": {
"type": "git",
"url": "https://github.com/urfave/cli",
"rev": "168c95418e66e019fe17b8f4f5c45aa62ff80e23",
"sha256": "1gdvvim2f1zigcmbpcgypgn7nvpnlr87grbg7lw13fbpy6fnlw2n"
}
},
{
"goPackagePath": "github.com/mattn/go-runewidth",
"fetch": {
"type": "git",
"url": "https://github.com/mattn/go-runewidth",
"rev": "d6bea18f789704b5f83375793155289da36a3c7f",
"sha256": "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs"
}
},
{
"goPackagePath": "github.com/olekukonko/tablewriter",
"fetch": {
"type": "git",
"url": "https://github.com/olekukonko/tablewriter",
"rev": "daf2955e742cf123959884fdff4685aa79b63135",
"sha256": "1fvl251ms7qmzfbi853kdgghqkrmyy6n1605mfy50nhgvw03z203"
}
},
{
"goPackagePath": "github.com/dustin/go-humanize",
"fetch": {
"type": "git",
"url": "https://github.com/dustin/go-humanize",
"rev": "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8",
"sha256": "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k"
}
},
{
"goPackagePath": "github.com/bgentry/speakeasy",
"fetch": {
"type": "git",
"url": "https://github.com/bgentry/speakeasy",
"rev": "a1ccbf2c40dfc8ce514b5c5c6e6d1429ea6880da",
"sha256": "0xqpc1qhdcs5blp1mkrppfb1x0rcv4a445mj0yzdwshbzkw5di01"
}
},
{
"goPackagePath": "github.com/kr/pty",
"fetch": {
"type": "git",
"url": "https://github.com/kr/pty",
"rev": "ce7fa45920dc37a92de8377972e52bc55ffa8d57",
"sha256": "0mdlr2mmwjznw2id0l4200xjajq9dh1kxn3z7d3ksn0b5fwinzmk"
}
},
{
"goPackagePath": "github.com/golang/groupcache",
"fetch": {
"type": "git",
"url": "https://github.com/golang/groupcache",
"rev": "a6b377e3400b08991b80d6805d627f347f983866",
"sha256": "125a6zdaxj916yp2rlrkg8xw00vjf5ga9xwdg4clby8wj4fysma2"
}
},
{
"goPackagePath": "gopkg.in/cheggaaa/pb.v1",
"fetch": {
"type": "git",
"url": "https://gopkg.in/cheggaaa/pb.v1",
"rev": "9453b2db37f4d8bc63751daca63bbe7049eb5e74",
"sha256": "0py7dxvm3ydxcw260x7r7xbjww1vkil3rhyy3f9njmjydyb303rb"
}
},
{
"goPackagePath": "github.com/golang/glog",
"fetch": {
"type": "git",
"url": "https://github.com/golang/glog",
"rev": "23def4e6c14b4da8ac2ed8007337bc5eb5007998",
"sha256": "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30"
}
},
{
"goPackagePath": "github.com/spacejam/loghisto",
"fetch": {
"type": "git",
"url": "https://github.com/spacejam/loghisto",
"rev": "9d1d8c1fd2a4ac852bf2e312f2379f553345fda7",
"sha256": "0r31y4ci35pp11wqdyarimdq5a703byk3cf6d67adsa4nw0ysfm1"
}
},
{
"goPackagePath": "github.com/akrennmair/gopcap",
"fetch": {
"type": "git",
"url": "https://github.com/akrennmair/gopcap",
"rev": "00e11033259acb75598ba416495bb708d864a010",
"sha256": "0xfw7x5a36w0g76imjvgk055360xg0nva42qhmflfvll7ldxq96a"
}
}
]

335
pkgs/servers/etcd/deps.nix Normal file
View File

@ -0,0 +1,335 @@
[
{
goPackagePath = "github.com/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9";
sha256 = "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y";
};
}
{
goPackagePath = "github.com/boltdb/bolt";
fetch = {
type = "git";
url = "https://github.com/boltdb/bolt";
rev = "583e8937c61f1af6513608ccc75c97b6abdf4ff9";
sha256 = "0cp5v9iypg9ysiq40k3h3lg7aisxplnmxshha7nama6b170izyay";
};
}
{
goPackagePath = "github.com/cloudfoundry-incubator/candiedyaml";
fetch = {
type = "git";
url = "https://github.com/cloudfoundry-incubator/candiedyaml";
rev = "99c3df83b51532e3615f851d8c2dbb638f5313bf";
sha256 = "106nibg7423642gbkg88c5x2jxfz6nmxbribhwb8cr1rn9vpjaxs";
};
}
{
goPackagePath = "github.com/cockroachdb/cmux";
fetch = {
type = "git";
url = "https://github.com/cockroachdb/cmux";
rev = "b64f5908f4945f4b11ed4a0a9d3cc1e23350866d";
sha256 = "1by4f3x7j3r3z1sdx1v04r494hn6jaag7lc03prrgx455j8i0jlh";
};
}
{
goPackagePath = "github.com/coreos/etcd";
fetch = {
type = "git";
url = "https://github.com/coreos/etcd.git";
rev = "9efa00d1030d4bf62eb8e5ec130023aeb1b8e2d0";
sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75";
};
}
{
goPackagePath = "github.com/coreos/go-semver";
fetch = {
type = "git";
url = "https://github.com/coreos/go-semver";
rev = "8ab6407b697782a06568d4b7f1db25550ec2e4c6";
sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
};
}
{
goPackagePath = "github.com/coreos/go-systemd";
fetch = {
type = "git";
url = "https://github.com/coreos/go-systemd";
rev = "5c49e4850c879a0ddc061e8f4adcf307de8a8bc2";
sha256 = "1w16bnrgfjb5rwha7g8rdjhpgjf8bzmlzhrda5bfvc9ymj3qjibk";
};
}
{
goPackagePath = "github.com/coreos/pkg";
fetch = {
type = "git";
url = "https://github.com/coreos/pkg";
rev = "3ac0863d7acf3bc44daf49afef8919af12f704ef";
sha256 = "0l5ans1ls2gknkrnhymgc0zbgg5nqjbjbqc51r611adcr0m6gg8l";
};
}
{
goPackagePath = "github.com/ghodss/yaml";
fetch = {
type = "git";
url = "https://github.com/ghodss/yaml";
rev = "aa0c862057666179de291b67d9f093d12b5a8473";
sha256 = "0cbc78n8l7h1gdzhrvahplcvr4v7n8v23vkgskfp843rcx5h6isr";
};
}
{
goPackagePath = "github.com/gogo/protobuf";
fetch = {
type = "git";
url = "https://github.com/gogo/protobuf";
rev = "f20a1444730c7d9949b880a0309e737d007def25";
sha256 = "12wa3r2cb2v1m65phbkh692ldlklk459z4x6avpc6im0zkr6r73c";
};
}
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "f592bd283e9ef86337a432eb50e592278c3d534d";
sha256 = "01gxhzn9m6jz6ihwxfycnx39zf5pmkan61l278cnynsb8mibdpvb";
};
}
{
goPackagePath = "github.com/google/btree";
fetch = {
type = "git";
url = "https://github.com/google/btree";
rev = "7d79101e329e5a3adf994758c578dab82b90c017";
sha256 = "1c1hsy5s2pfawg3l9954jmqmy4yc2zp3f7i87m00km2yqgb8xpd0";
};
}
{
goPackagePath = "github.com/grpc-ecosystem/grpc-gateway";
fetch = {
type = "git";
url = "https://github.com/grpc-ecosystem/grpc-gateway";
rev = "5e0e028ba0a015710eaebf6e47af18812c9f2767";
sha256 = "00s4wxzs6lz5al7y2hxi6r4bxhx5b0ajk5rwxrnb4a4mhlaii8pk";
};
}
{
goPackagePath = "github.com/jonboulle/clockwork";
fetch = {
type = "git";
url = "https://github.com/jonboulle/clockwork";
rev = "e3653ace2d63753697e0e5b07b9393971c0bba9d";
sha256 = "1avzqhks12a8x2yzpvjsf3k0gv9cy7zx2z88hn0scacnxkphisvc";
};
}
{
goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
fetch = {
type = "git";
url = "https://github.com/matttproud/golang_protobuf_extensions";
rev = "c12348ce28de40eed0136aa2b644d0ee0650e56c";
sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
};
}
{
goPackagePath = "github.com/prometheus/client_golang";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_golang";
rev = "c5b7fccd204277076155f10851dad72b76a49317";
sha256 = "1xqny3147g12n4j03kxm8s9mvdbs3ln6i56c655mybrn9jjy48kd";
};
}
{
goPackagePath = "github.com/prometheus/client_model";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_model";
rev = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6";
sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9";
};
}
{
goPackagePath = "github.com/prometheus/common";
fetch = {
type = "git";
url = "https://github.com/prometheus/common";
rev = "ebdfc6da46522d58825777cf1f90490a5b1ef1d8";
sha256 = "0js62pj8600773wx6labpd772yyhz5ivim7dnl7b862wblbmc8mq";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "abf152e5f3e97f2fafac028d2cc06c1feb87ffa5";
sha256 = "0cp8lznv1b4zhi3wnbjkfxwzhkqd3wbmiy6mwgjanip8l9l3ykws";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "7c674d9e72017ed25f6d2b5e497a1368086b6a6f";
sha256 = "0an935r7lc11a744mvdrsy56rs2w0ah3gdclvr4gzd5iqr9ap3dr";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "6454a84b6da0ea8b628d5d8a26759f62c6c161b4";
sha256 = "06rfi73jhkncn8gxy6klgmba5947k9gpwdswipdpz680yxczcwna";
};
}
{
goPackagePath = "github.com/ugorji/go";
fetch = {
type = "git";
url = "https://github.com/ugorji/go";
rev = "4a1cb5252a6951f715a85d0e4be334c2a2dbf2a2";
sha256 = "0izpijk3piihl4fnqg8ncnp5ivbq41pg3xf7iagg4fbg5id4pxbx";
};
}
{
goPackagePath = "github.com/xiang90/probing";
fetch = {
type = "git";
url = "https://github.com/xiang90/probing";
rev = "07dd2e8dfe18522e9c447ba95f2fe95262f63bb2";
sha256 = "0r8rq27yigz72mk8z7p61yjfan8id021dnp1v421ln9byzpvabn2";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "88d0005bf4c3ec17306ecaca4281a8d8efd73e91";
sha256 = "1d3x0rwfd4cml06ka8gy74wxrw94m2z7qgz6ky0rgmxcr7p5iikz";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "7394c112eae4dba7e96bfcfe738e6373d61772b4";
sha256 = "1p8wsxnbsp2lq6hbza2n0zgv4sgpxzzjjlrmcngkhxj47kp3hin7";
};
}
{
goPackagePath = "google.golang.org/grpc";
fetch = {
type = "git";
url = "https://github.com/grpc/grpc-go";
rev = "0032a855ba5c8a3c8e0d71c2deef354b70af1584";
sha256 = "0qkynp65jwk6jk932k7kwxs5v6fzlfsb1fay71a00dwr36f44s67";
};
}
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "168c95418e66e019fe17b8f4f5c45aa62ff80e23";
sha256 = "1gdvvim2f1zigcmbpcgypgn7nvpnlr87grbg7lw13fbpy6fnlw2n";
};
}
{
goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
rev = "d6bea18f789704b5f83375793155289da36a3c7f";
sha256 = "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs";
};
}
{
goPackagePath = "github.com/olekukonko/tablewriter";
fetch = {
type = "git";
url = "https://github.com/olekukonko/tablewriter";
rev = "daf2955e742cf123959884fdff4685aa79b63135";
sha256 = "1fvl251ms7qmzfbi853kdgghqkrmyy6n1605mfy50nhgvw03z203";
};
}
{
goPackagePath = "github.com/dustin/go-humanize";
fetch = {
type = "git";
url = "https://github.com/dustin/go-humanize";
rev = "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8";
sha256 = "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k";
};
}
{
goPackagePath = "github.com/bgentry/speakeasy";
fetch = {
type = "git";
url = "https://github.com/bgentry/speakeasy";
rev = "a1ccbf2c40dfc8ce514b5c5c6e6d1429ea6880da";
sha256 = "0xqpc1qhdcs5blp1mkrppfb1x0rcv4a445mj0yzdwshbzkw5di01";
};
}
{
goPackagePath = "github.com/kr/pty";
fetch = {
type = "git";
url = "https://github.com/kr/pty";
rev = "ce7fa45920dc37a92de8377972e52bc55ffa8d57";
sha256 = "0mdlr2mmwjznw2id0l4200xjajq9dh1kxn3z7d3ksn0b5fwinzmk";
};
}
{
goPackagePath = "github.com/golang/groupcache";
fetch = {
type = "git";
url = "https://github.com/golang/groupcache";
rev = "a6b377e3400b08991b80d6805d627f347f983866";
sha256 = "125a6zdaxj916yp2rlrkg8xw00vjf5ga9xwdg4clby8wj4fysma2";
};
}
{
goPackagePath = "gopkg.in/cheggaaa/pb.v1";
fetch = {
type = "git";
url = "https://gopkg.in/cheggaaa/pb.v1";
rev = "9453b2db37f4d8bc63751daca63bbe7049eb5e74";
sha256 = "0py7dxvm3ydxcw260x7r7xbjww1vkil3rhyy3f9njmjydyb303rb";
};
}
{
goPackagePath = "github.com/golang/glog";
fetch = {
type = "git";
url = "https://github.com/golang/glog";
rev = "23def4e6c14b4da8ac2ed8007337bc5eb5007998";
sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
};
}
{
goPackagePath = "github.com/spacejam/loghisto";
fetch = {
type = "git";
url = "https://github.com/spacejam/loghisto";
rev = "9d1d8c1fd2a4ac852bf2e312f2379f553345fda7";
sha256 = "0r31y4ci35pp11wqdyarimdq5a703byk3cf6d67adsa4nw0ysfm1";
};
}
{
goPackagePath = "github.com/akrennmair/gopcap";
fetch = {
type = "git";
url = "https://github.com/akrennmair/gopcap";
rev = "00e11033259acb75598ba416495bb708d864a010";
sha256 = "0xfw7x5a36w0g76imjvgk055360xg0nva42qhmflfvll7ldxq96a";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09"; sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Share your terminal as a web application"; description = "Share your terminal as a web application";

View File

@ -1,74 +0,0 @@
[
{
"goPackagePath": "github.com/gorilla/websocket",
"fetch": {
"type": "git",
"url": "https://github.com/gorilla/websocket",
"rev": "a622679ebd7a3b813862379232f645f8e690e43f",
"sha256": "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q"
}
},
{
"goPackagePath": "github.com/kr/pty",
"fetch": {
"type": "git",
"url": "https://github.com/kr/pty",
"rev": "67e2db24c831afa6c64fc17b4a143390674365ef",
"sha256": "1l3z3wbb112ar9br44m8g838z0pq2gfxcp5s3ka0xvm1hjvanw2d"
}
},
{
"goPackagePath": "github.com/braintree/manners",
"fetch": {
"type": "git",
"url": "https://github.com/braintree/manners",
"rev": "cab36f97339b1925cd89e158632728025557e550",
"sha256": "1q508c62iiklghkhwqz9c0zsn9hrij7kqb93gdywzj7ms7x6hlfh"
}
},
{
"goPackagePath": "github.com/codegangsta/cli",
"fetch": {
"type": "git",
"url": "https://github.com/codegangsta/cli",
"rev": "71f57d300dd6a780ac1856c005c4b518cfd498ec",
"sha256": "1fxznirkvank5461789dm5aw5z8aqi0jvwligvz44659rfl376p3"
}
},
{
"goPackagePath": "github.com/elazarl/go-bindata-assetfs",
"fetch": {
"type": "git",
"url": "https://github.com/elazarl/go-bindata-assetfs",
"rev": "d5cac425555ca5cf00694df246e04f05e6a55150",
"sha256": "636ce247ff6f85c14f38a421f46662fa77bdc29762692e1f72b3cd1f9d7a1d17"
}
},
{
"goPackagePath": "github.com/fatih/structs",
"fetch": {
"type": "git",
"url": "https://github.com/fatih/structs",
"rev": "a9f7daa9c2729e97450c2da2feda19130a367d8f",
"sha256": "0pyrc7svc826g37al3db19n5l4r2m9h1mlhjh3hz2r41xfaqia50"
}
},
{
"goPackagePath": "github.com/hashicorp/hcl",
"fetch": {
"type": "git",
"url": "https://github.com/hashicorp/hcl",
"rev": "54864211433d45cb780682431585b3e573b49e4a",
"sha256": "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950"
}
},
{
"goPackagePath": "github.com/hashicorp/go-multierror",
"fetch": {
"type": "git",
"url": "https://github.com/hashicorp/go-multierror",
"rev": "56912fb08d85084aa318edcf2bba735b97cf35c5",
"sha256": "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r"
}
}
]

View File

@ -0,0 +1,74 @@
[
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "a622679ebd7a3b813862379232f645f8e690e43f";
sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q";
};
}
{
goPackagePath = "github.com/kr/pty";
fetch = {
type = "git";
url = "https://github.com/kr/pty";
rev = "67e2db24c831afa6c64fc17b4a143390674365ef";
sha256 = "1l3z3wbb112ar9br44m8g838z0pq2gfxcp5s3ka0xvm1hjvanw2d";
};
}
{
goPackagePath = "github.com/braintree/manners";
fetch = {
type = "git";
url = "https://github.com/braintree/manners";
rev = "cab36f97339b1925cd89e158632728025557e550";
sha256 = "1q508c62iiklghkhwqz9c0zsn9hrij7kqb93gdywzj7ms7x6hlfh";
};
}
{
goPackagePath = "github.com/codegangsta/cli";
fetch = {
type = "git";
url = "https://github.com/codegangsta/cli";
rev = "71f57d300dd6a780ac1856c005c4b518cfd498ec";
sha256 = "1fxznirkvank5461789dm5aw5z8aqi0jvwligvz44659rfl376p3";
};
}
{
goPackagePath = "github.com/elazarl/go-bindata-assetfs";
fetch = {
type = "git";
url = "https://github.com/elazarl/go-bindata-assetfs";
rev = "d5cac425555ca5cf00694df246e04f05e6a55150";
sha256 = "636ce247ff6f85c14f38a421f46662fa77bdc29762692e1f72b3cd1f9d7a1d17";
};
}
{
goPackagePath = "github.com/fatih/structs";
fetch = {
type = "git";
url = "https://github.com/fatih/structs";
rev = "a9f7daa9c2729e97450c2da2feda19130a367d8f";
sha256 = "0pyrc7svc826g37al3db19n5l4r2m9h1mlhjh3hz2r41xfaqia50";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "54864211433d45cb780682431585b3e573b49e4a";
sha256 = "07l2dydzjpdgm2d4a72hkmincn455j3nrafg6hs3c23bkvizj950";
};
}
{
goPackagePath = "github.com/hashicorp/go-multierror";
fetch = {
type = "git";
url = "https://github.com/hashicorp/go-multierror";
rev = "56912fb08d85084aa318edcf2bba735b97cf35c5";
sha256 = "0s01cqdab2f7fxkkjjk2wqx05a1shnwlvfn45h2pi3i4gapvcn0r";
};
}
]

View File

@ -17,7 +17,7 @@ buildGoPackage rec {
sha256 = "06aqx3jy744yx29xyg8ips0dw16186hfqbxdv3hfrmwxmaxhl4lz"; sha256 = "06aqx3jy744yx29xyg8ips0dw16186hfqbxdv3hfrmwxmaxhl4lz";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
nativeBuildInputs = [ sudo ]; nativeBuildInputs = [ sudo ];
buildFlags = [ "-tags textsecure" ]; buildFlags = [ "-tags textsecure" ];

View File

@ -1,65 +0,0 @@
[
{
"goPackagePath": "gopkg.in/yaml.v2",
"fetch": {
"type": "git",
"url": "https://gopkg.in/yaml.v2",
"rev": "a83829b6f1293c91addabc89d0571c246397bbf4",
"sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh"
}
},
{
"goPackagePath": "golang.org/x/crypto",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/crypto",
"rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6",
"sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa"
}
},
{
"goPackagePath": "github.com/Sirupsen/logrus",
"fetch": {
"type": "git",
"url": "https://github.com/Sirupsen/logrus",
"rev": "be52937128b38f1d99787bb476c789e2af1147f1",
"sha256": "1m6vvd4pg4lwglhk54lv5mf6cc8h7bi0d9zb3gar4crz531r66y4"
}
},
{
"goPackagePath": "github.com/agl/ed25519",
"fetch": {
"type": "git",
"url": "https://github.com/agl/ed25519",
"rev": "278e1ec8e8a6e017cd07577924d6766039146ced",
"sha256": "165d89cc6dl28j4hkn86pny0jz3sa6hamzdvpvwdj4iha3x6lzc9"
}
},
{
"goPackagePath": "github.com/golang/protobuf",
"fetch": {
"type": "git",
"url": "https://github.com/golang/protobuf",
"rev": "59b73b37c1e45995477aae817e4a653c89a858db",
"sha256": "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa"
}
},
{
"goPackagePath": "github.com/janimo/textsecure",
"fetch": {
"type": "git",
"url": "https://github.com/janimo/textsecure",
"rev": "c38f429e48d6b2776d17b4171f216f132185b0f6",
"sha256": "191pwgfgphr0x04dwpvniax4wilpv52l25bw7d3igvnw302y7i94"
}
},
{
"goPackagePath": "golang.org/x/net",
"fetch": {
"type": "git",
"url": "https://go.googlesource.com/net",
"rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4",
"sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p"
}
}
]

View File

@ -0,0 +1,65 @@
[
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://gopkg.in/yaml.v2";
rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "575fdbe86e5dd89229707ebec0575ce7d088a4a6";
sha256 = "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa";
};
}
{
goPackagePath = "github.com/Sirupsen/logrus";
fetch = {
type = "git";
url = "https://github.com/Sirupsen/logrus";
rev = "be52937128b38f1d99787bb476c789e2af1147f1";
sha256 = "1m6vvd4pg4lwglhk54lv5mf6cc8h7bi0d9zb3gar4crz531r66y4";
};
}
{
goPackagePath = "github.com/agl/ed25519";
fetch = {
type = "git";
url = "https://github.com/agl/ed25519";
rev = "278e1ec8e8a6e017cd07577924d6766039146ced";
sha256 = "165d89cc6dl28j4hkn86pny0jz3sa6hamzdvpvwdj4iha3x6lzc9";
};
}
{
goPackagePath = "github.com/golang/protobuf";
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
rev = "59b73b37c1e45995477aae817e4a653c89a858db";
sha256 = "1dx22jvhvj34ivpr7gw01fncg9yyx35mbpal4mpgnqka7ajmgjsa";
};
}
{
goPackagePath = "github.com/janimo/textsecure";
fetch = {
type = "git";
url = "https://github.com/janimo/textsecure";
rev = "c38f429e48d6b2776d17b4171f216f132185b0f6";
sha256 = "191pwgfgphr0x04dwpvniax4wilpv52l25bw7d3igvnw302y7i94";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "62ac18b461605b4be188bbc7300e9aa2bc836cd4";
sha256 = "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p";
};
}
]

View File

@ -17,5 +17,5 @@ buildGoPackage rec {
sha256 = "0zs6lcgk43j7jp370qnii7n55cd9pa8gl56r8hy4nagfvlvrcm02"; sha256 = "0zs6lcgk43j7jp370qnii7n55cd9pa8gl56r8hy4nagfvlvrcm02";
}; };
goDeps = ./deps.json; goDeps = ./deps.nix;
} }

View File

@ -1,101 +0,0 @@
[
{
"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"
}
}
]

View File

@ -0,0 +1,101 @@
[
{
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";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1qxqrcbd0d4mrjrgqz882jh7069nn5gz1b84rq7d7z1f1dqhczxn"; sha256 = "1qxqrcbd0d4mrjrgqz882jh7069nn5gz1b84rq7d7z1f1dqhczxn";
}; };
goDeps = ./cli_deps.json; goDeps = ./cli_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Command line tool for querying the Prometheus HTTP API"; description = "Command line tool for querying the Prometheus HTTP API";

View File

@ -1,11 +0,0 @@
[
{
"goPackagePath": "github.com/prometheus/client_golang",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/client_golang",
"rev": "6dbab8106ed3ed77359ac85d9cf08e30290df864",
"sha256": "1i3g5h2ncdb8b67742kfpid7d0a1jas1pyicglbglwngfmzhpkna"
}
}
]

View File

@ -0,0 +1,11 @@
[
{
goPackagePath = "github.com/prometheus/client_golang";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_golang";
rev = "6dbab8106ed3ed77359ac85d9cf08e30290df864";
sha256 = "1i3g5h2ncdb8b67742kfpid7d0a1jas1pyicglbglwngfmzhpkna";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1p0kb7c8g0r0sp5a6xrx8vnwbw14hhwlqzk4n2xx2y8pvnbivajz"; sha256 = "1p0kb7c8g0r0sp5a6xrx8vnwbw14hhwlqzk4n2xx2y8pvnbivajz";
}; };
goDeps = ./collectd-exporter_deps.json; goDeps = ./collectd-exporter_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Relay server for exporting metrics from collectd to Prometheus"; description = "Relay server for exporting metrics from collectd to Prometheus";

View File

@ -1,65 +0,0 @@
[
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
}
]

View File

@ -0,0 +1,65 @@
[
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1jkijdawmnj5yps0yaj47nyfmcah0krwmqsjvicm3sl0dhwmac4w"; sha256 = "1jkijdawmnj5yps0yaj47nyfmcah0krwmqsjvicm3sl0dhwmac4w";
}; };
goDeps = ./haproxy-exporter_deps.json; goDeps = ./haproxy-exporter_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "HAProxy Exporter for the Prometheus monitoring system"; description = "HAProxy Exporter for the Prometheus monitoring system";

View File

@ -1,65 +0,0 @@
[
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
}
]

View File

@ -0,0 +1,65 @@
[
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "059az73j717gd960g4jigrxnvqrjh9jw1c324xpwaafa0bf10llm"; sha256 = "059az73j717gd960g4jigrxnvqrjh9jw1c324xpwaafa0bf10llm";
}; };
goDeps = ./mesos-exporter_deps.json; goDeps = ./mesos-exporter_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Export Mesos metrics to Prometheus"; description = "Export Mesos metrics to Prometheus";

View File

@ -1,83 +0,0 @@
[
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "github.com/golang/glog",
"fetch": {
"type": "git",
"url": "https://github.com/golang/glog",
"rev": "fca8c8854093a154ff1eb580aae10276ad6b1b5f",
"sha256": "1nr2q0vas0a2f395f4shjxqpas18mjsf8yhgndsav7svngpbbpg8"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
},
{
"goPackagePath": "github.com/antonlindstrom/mesos_stats",
"fetch": {
"type": "git",
"url": "https://github.com/antonlindstrom/mesos_stats",
"rev": "0c6ea494c19bedc67ebb85ce3d187ec21050e920",
"sha256": "18ggyjf4nyn77gkn16wg9krp4dsphgzdgcr3mdflv6mvbr482ar4"
}
}
]

View File

@ -0,0 +1,83 @@
[
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "github.com/golang/glog";
fetch = {
type = "git";
url = "https://github.com/golang/glog";
rev = "fca8c8854093a154ff1eb580aae10276ad6b1b5f";
sha256 = "1nr2q0vas0a2f395f4shjxqpas18mjsf8yhgndsav7svngpbbpg8";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
{
goPackagePath = "github.com/antonlindstrom/mesos_stats";
fetch = {
type = "git";
url = "https://github.com/antonlindstrom/mesos_stats";
rev = "0c6ea494c19bedc67ebb85ce3d187ec21050e920";
sha256 = "18ggyjf4nyn77gkn16wg9krp4dsphgzdgcr3mdflv6mvbr482ar4";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "0pwf2vii9n9zgad1lxgw28c2743yc9c3qc03516fiwvlqc1cpddr"; sha256 = "0pwf2vii9n9zgad1lxgw28c2743yc9c3qc03516fiwvlqc1cpddr";
}; };
goDeps = ./mysqld-exporter_deps.json; goDeps = ./mysqld-exporter_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Prometheus exporter for MySQL server metrics"; description = "Prometheus exporter for MySQL server metrics";

View File

@ -1,74 +0,0 @@
[
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
},
{
"goPackagePath": "github.com/go-sql-driver/mysql",
"fetch": {
"type": "git",
"url": "https://github.com/go-sql-driver/mysql",
"rev": "fb7299726d2e68745a8805b14f2ff44b5c2cfa84",
"sha256": "185af0x475hq2wmm2zdvxjyslkplf8zzqijdxa937zqxq63qiw4w"
}
}
]

View File

@ -0,0 +1,74 @@
[
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
{
goPackagePath = "github.com/go-sql-driver/mysql";
fetch = {
type = "git";
url = "https://github.com/go-sql-driver/mysql";
rev = "fb7299726d2e68745a8805b14f2ff44b5c2cfa84";
sha256 = "185af0x475hq2wmm2zdvxjyslkplf8zzqijdxa937zqxq63qiw4w";
};
}
]

View File

@ -13,7 +13,7 @@ buildGoPackage rec {
sha256 = "0p9j0bbr2lr734980x2p8d67lcify21glwc5k3i3j4ri4vadpxvc"; sha256 = "0p9j0bbr2lr734980x2p8d67lcify21glwc5k3i3j4ri4vadpxvc";
}; };
goDeps = ./nginx-exporter_deps.json; goDeps = ./nginx-exporter_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Metrics relay from nginx stats to Prometheus"; description = "Metrics relay from nginx stats to Prometheus";

View File

@ -1,83 +0,0 @@
[
{
"goPackagePath": "github.com/Sirupsen/logrus",
"fetch": {
"type": "git",
"url": "https://github.com/Sirupsen/logrus",
"rev": "be52937128b38f1d99787bb476c789e2af1147f1",
"sha256": "1m6vvd4pg4lwglhk54lv5mf6cc8h7bi0d9zb3gar4crz531r66y4"
}
},
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
},
{
"goPackagePath": "github.com/prometheus/log",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/log",
"rev": "439e5db48fbb50ebbaf2c816030473a62f505f55",
"sha256": "1fl23gsw2hn3c1y91qckr661sybqcw2gqnd1gllxn3hp6p2w6hxv"
}
}
]

View File

@ -0,0 +1,83 @@
[
{
goPackagePath = "github.com/Sirupsen/logrus";
fetch = {
type = "git";
url = "https://github.com/Sirupsen/logrus";
rev = "be52937128b38f1d99787bb476c789e2af1147f1";
sha256 = "1m6vvd4pg4lwglhk54lv5mf6cc8h7bi0d9zb3gar4crz531r66y4";
};
}
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
{
goPackagePath = "github.com/prometheus/log";
fetch = {
type = "git";
url = "https://github.com/prometheus/log";
rev = "439e5db48fbb50ebbaf2c816030473a62f505f55";
sha256 = "1fl23gsw2hn3c1y91qckr661sybqcw2gqnd1gllxn3hp6p2w6hxv";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "0wwh3mz7z81fwh8n78sshvj46akcgjhxapjgfic5afc4nv926zdl"; sha256 = "0wwh3mz7z81fwh8n78sshvj46akcgjhxapjgfic5afc4nv926zdl";
}; };
goDeps = ./prom2json_deps.json; goDeps = ./prom2json_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Tool to scrape a Prometheus client and dump the result as JSON"; description = "Tool to scrape a Prometheus client and dump the result as JSON";

View File

@ -1,38 +0,0 @@
[
{
"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"
}
}
]

View File

@ -0,0 +1,38 @@
[
{
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";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1bj0s4s3gbcnlp2z2yx7jf3jx14cdg2v4pr0yciai0g6jwwg63hd"; sha256 = "1bj0s4s3gbcnlp2z2yx7jf3jx14cdg2v4pr0yciai0g6jwwg63hd";
}; };
goDeps = ./pushgateway_deps.json; goDeps = ./pushgateway_deps.nix;
buildInputs = [ go-bindata ]; buildInputs = [ go-bindata ];

View File

@ -1,74 +0,0 @@
[
{
"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/beorn7/perks",
"fetch": {
"type": "git",
"url": "https://github.com/beorn7/perks",
"rev": "b965b613227fddccbfffe13eae360ed3fa822f8d",
"sha256": "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk"
}
},
{
"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"
}
},
{
"goPackagePath": "github.com/prometheus/procfs",
"fetch": {
"type": "git",
"url": "https://github.com/prometheus/procfs",
"rev": "c91d8eefde16bd047416409eb56353ea84a186e4",
"sha256": "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r"
}
},
{
"goPackagePath": "bitbucket.org/ww/goautoneg",
"fetch": {
"type": "hg",
"url": "bitbucket.org/ww/goautoneg",
"rev": "75cd24fc2f2c2a2088577d12123ddee5f54e0675",
"sha256": "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi"
}
},
{
"goPackagePath": "github.com/julienschmidt/httprouter",
"fetch": {
"type": "git",
"url": "https://github.com/julienschmidt/httprouter",
"rev": "6aacfd5ab513e34f7e64ea9627ab9670371b34e7",
"sha256": "00rrjysmq898qcrf2hfwfh9s70vwvmjx2kp5w03nz1krxa4zhrkl"
}
}
]

View File

@ -0,0 +1,74 @@
[
{
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/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
rev = "b965b613227fddccbfffe13eae360ed3fa822f8d";
sha256 = "1p8zsj4r0g61q922khfxpwxhdma2dx4xad1m5qx43mfn28kxngqk";
};
}
{
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";
};
}
{
goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
rev = "c91d8eefde16bd047416409eb56353ea84a186e4";
sha256 = "0pj3gzw9b58l72w0rkpn03ayssglmqfmyxghhfad6mh0b49dvj3r";
};
}
{
goPackagePath = "bitbucket.org/ww/goautoneg";
fetch = {
type = "hg";
url = "bitbucket.org/ww/goautoneg";
rev = "75cd24fc2f2c2a2088577d12123ddee5f54e0675";
sha256 = "19khhn5xhqv1yp7d6k987gh5w5rhrjnp4p0c6fyrd8z6lzz5h9qi";
};
}
{
goPackagePath = "github.com/julienschmidt/httprouter";
fetch = {
type = "git";
url = "https://github.com/julienschmidt/httprouter";
rev = "6aacfd5ab513e34f7e64ea9627ab9670371b34e7";
sha256 = "00rrjysmq898qcrf2hfwfh9s70vwvmjx2kp5w03nz1krxa4zhrkl";
};
}
]

View File

@ -14,7 +14,7 @@ buildGoPackage rec {
sha256 = "1gg9v224n05khcwy27637w3rwh0cymm7hx6bginfxd7730rmpp2r"; sha256 = "1gg9v224n05khcwy27637w3rwh0cymm7hx6bginfxd7730rmpp2r";
}; };
goDeps = ./statsd-bridge_deps.json; goDeps = ./statsd-bridge_deps.nix;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Receives StatsD-style metrics and exports them to Prometheus"; description = "Receives StatsD-style metrics and exports them to Prometheus";

Some files were not shown because too many files have changed in this diff Show More