terraform-inventory: 0.7-pre -> 0.10

This commit is contained in:
Aaron Jheng 2022-04-08 15:05:36 +00:00
parent 117f62e72e
commit 7ac2961ee3
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3
2 changed files with 14 additions and 31 deletions

View File

@ -1,22 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub}:
{ lib, buildGoModule, fetchFromGitHub, testers, terraform-inventory }:
buildGoPackage rec {
buildGoModule rec {
pname = "terraform-inventory";
version = "0.7-pre";
rev = "v${version}";
goPackagePath = "github.com/adammck/terraform-inventory";
subPackages = [ "./" ];
version = "0.10";
src = fetchFromGitHub {
inherit rev;
owner = "adammck";
repo = "terraform-inventory";
sha256 = "0wwyi2nfyn3wfpmvj8aabn0cjba0lpr5nw3rgd6qdywy7sc3rmb1";
rev = "v${version}";
sha256 = "sha256-gkSDxcBoYmCBzkO8y1WKcRtZdfl8w5qVix0zbyb4Myo=";
};
goDeps = ./deps.nix;
vendorSha256 = "sha256-pj9XLzaGU1PuNnpTL/7XaKJZUymX+i8hFMroZtHIqTc=";
ldflags = [ "-s" "-w" "-X main.build_version=${version}" ];
doCheck = false;
passthru.tests.version = testers.testVersion {
package = terraform-inventory;
};
meta = with lib; {
homepage = "https://github.com/adammck/terraform-inventory";

View File

@ -1,20 +0,0 @@
[
{
goPackagePath = "github.com/adammck/venv";
fetch = {
type = "git";
url = "https://github.com/adammck/venv";
rev = "8a9c907a37d36a8f34fa1c5b81aaf80c2554a306";
sha256 = "1fzk3j4q59kpd2ks2aw8rmic6b123p5mh981cjh0kzs716grc6y8";
};
}
{
goPackagePath = "github.com/blang/vfs";
fetch = {
type = "git";
url = "https://github.com/blang/vfs";
rev = "c14afcac17253ce7418da751ec6b1988790cdc8f";
sha256 = "00q5qzxpn9n59nrmrljz4w9lljxvrr8i5j8i8b4iw86j0alcx53b";
};
}
]