git.iko.soy/typeable/nixpkgs
on master help sign in
terraform-provider-elasticsearch: init at 0.6.0
commitd19b0b2ddfb374f755d6981c3be1b2a322124814 authorBas van Dijk <v.dijk.bas@gmail.com> dateMon 27 May 2019, 17:48 (7 years ago) parentad4bd3b
3 files changed+105
pkgs/applications/networking/cluster/terraform-providers/default.nix+1 pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nix+29 pkgs/applications/networking/cluster/terraform-providers/elasticsearch/deps.nix+75
pkgs/applications/networking/cluster/terraform-providers/default.nix+1
@@ -24,6 +24,7 @@ let
2424 };
2525in
2626 {
27+ elasticsearch = callPackage ./elasticsearch {};
2728 gandi = callPackage ./gandi {};
2829 ibm = callPackage ./ibm {};
2930 libvirt = callPackage ./libvirt {};
pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, buildGoPackage }:
2+buildGoPackage rec {
3+ name = "terraform-provider-elasticsearch-${version}";
4+ version = "0.6.0";
5+
6+ goPackagePath = "github.com/phillbaker/terraform-provider-elasticsearch";
7+
8+ # ./deps.nix was generated using the work-around described in:
9+ # https://github.com/kamilchm/go2nix/issues/19
10+ goDeps = ./deps.nix;
11+
12+ src = fetchFromGitHub {
13+ owner = "phillbaker";
14+ repo = "terraform-provider-elasticsearch";
15+ rev = "v${version}";
16+ sha256 = "04i7jwhm1mg4m8p7y6yg83j76fx0ncallzbza1g1wc5cjjbkvgs2";
17+ };
18+
19+ # Terraform allow checking the provider versions, but this breaks
20+ # if the versions are not provided via file paths.
21+ postBuild = "mv go/bin/terraform-provider-elasticsearch{,_v${version}}";
22+
23+ meta = with stdenv.lib; {
24+ description = "Terraform provider for elasticsearch";
25+ homepage = "https://github.com/phillbaker/terraform-provider-elasticsearch";
26+ license = licenses.mpl20;
27+ maintainers = with maintainers; [ basvandijk ];
28+ };
29+}
pkgs/applications/networking/cluster/terraform-providers/elasticsearch/deps.nixnew file+75
@@ -0,0 +1,75 @@
1+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
2+[
3+ {
4+ goPackagePath = "github.com/aws/aws-sdk-go";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/aws/aws-sdk-go";
8+ rev = "512bdaf8bec30abd545b440447cebb57b53d3af9";
9+ sha256 = "1j7kjk6i8vg4nwlsxjypqz3gc9j1a9x8r3bg99w1x2ap3vrh7sl8";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/deoxxa/aws_signing_client";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/deoxxa/aws_signing_client";
17+ rev = "c20ee106809eacdffcc81ac7cb984261f8e3067e";
18+ sha256 = "01cw1f6hzgx1df730vdwd7vhbn7yl6zv3sr42iz4sd1dcdqwzlkq";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/hashicorp/terraform";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/hashicorp/terraform";
26+ rev = "dbce85d85ff0beebc660b3d1805b4ef15361af00";
27+ sha256 = "17kd3ln1i40qb8fll5918rvgackzf1ibmr7li1p9vky4ki3iwr0l";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/mailru/easyjson";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/mailru/easyjson";
35+ rev = "3fdea8d05856a0c8df22ed4bc71b3219245e4485";
36+ sha256 = "0g3crph77yhv4ipdnwqc32z4cp87ahi4ikad5kyy6q4znnxliz74";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/olivere/elastic";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/olivere/elastic";
44+ rev = "2a5234d20b058173aaea6835e671fc83eee777b0";
45+ sha256 = "08r62d29m6f7d5hwb9zm5b612wbvzd9sn97nb48q174gbk8685yw";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/pkg/errors";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/pkg/errors";
53+ rev = "816c9085562cd7ee03e7f8188a1cfd942858cded";
54+ sha256 = "1ws5crb7c70wdicavl6qr4g03nn6m92zd6wwp9n2ygz5c8rmxh8k";
55+ };
56+ }
57+ {
58+ goPackagePath = "gopkg.in/olivere/elastic.v5";
59+ fetch = {
60+ type = "git";
61+ url = "https://gopkg.in/olivere/elastic.v5";
62+ rev = "b708306d715bea9b983685e94ab4602cdc9f988b";
63+ sha256 = "0ks0h0ik0aqjm8dm2imbyd1z7rfmqiwilf3bc9nnplp9hc07471y";
64+ };
65+ }
66+ {
67+ goPackagePath = "gopkg.in/olivere/elastic.v6";
68+ fetch = {
69+ type = "git";
70+ url = "https://gopkg.in/olivere/elastic.v6";
71+ rev = "e6cae211ee802eab70248a68fe2cb03b616744c9";
72+ sha256 = "0nbf4mr31gxm4zn5w362y22mh98ckl3d0bxli4f3rwx6zw12arfg";
73+ };
74+ }
75+]