forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Christian Höppner
committed
Mar 26, 2020
1 parent
a8d8d34
commit 6ac05b3
Showing
6 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
, buildGoPackage | ||
, fetchFromGitHub | ||
, callPackage | ||
, buildGo112Module | ||
, Security | ||
}: | ||
let | ||
list = import ./data.nix; | ||
|
@@ -25,13 +25,11 @@ let | |
in | ||
{ | ||
elasticsearch = callPackage ./elasticsearch { | ||
# Version 0.7.0 fails to build with go 1.13 due to dependencies: | ||
# verifying git.apache.org/[email protected]/go.mod: git.apache.org/[email protected]/go.mod: Get https://sum.golang.org/lookup/git.apache.org/[email protected]: dial tcp: lookup sum.golang.org on [::1]:53: read udp [::1]:52968->[::1]:53: read: connection refused | ||
# verifying github.com/hashicorp/[email protected]/go.mod: github.com/hashicorp/[email protected]/go.mod: Get https://sum.golang.org/lookup/github.com/hashicorp/[email protected]: dial tcp: lookup sum.golang.org on [::1]:53: read udp [::1]:52968->[::1]:53: read: connection refused | ||
buildGoModule = buildGo112Module; | ||
inherit Security; | ||
}; | ||
gandi = callPackage ./gandi {}; | ||
ibm = callPackage ./ibm {}; | ||
libvirt = callPackage ./libvirt {}; | ||
lxd = callPackage ./lxd {}; | ||
ansible = callPackage ./ansible {}; | ||
} // lib.mapAttrs (n: v: toDrv v) list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
pkgs/applications/networking/cluster/terraform-providers/lxd/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ stdenv, buildGoModule, fetchFromGitHub }: | ||
|
||
buildGoModule rec { | ||
pname = "terraform-provider-lxd"; | ||
version = "1.3.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "sl1pm4t"; | ||
repo = "terraform-provider-lxd"; | ||
rev = "v${version}"; | ||
sha256 = "1k54021178zybh9dqly2ly8ji9x5rka8dn9xd6rv7gkcl5w3y6fv"; | ||
}; | ||
|
||
modSha256 = "1h95ng9by3i3v15s1ws1fv86a47vglivn42xbffdy94s108g0908"; | ||
|
||
postBuild = "mv ../go/bin/terraform-provider-lxd{,_v${version}}"; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = "https://github.com/sl1pm4t/terraform-provider-lxd"; | ||
description = "Terraform provider for lxd"; | ||
platforms = platforms.linux; | ||
license = licenses.mpl20; | ||
maintainers = with maintainers; [ gila ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters