nixpkgs/pkgs/applications/networking/cluster/terraform-inventory/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

28 lines
701 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub}:
buildGoPackage rec {
pname = "terraform-inventory";
version = "0.7-pre";
rev = "v${version}";
goPackagePath = "github.com/adammck/terraform-inventory";
subPackages = [ "./" ];
src = fetchFromGitHub {
inherit rev;
owner = "adammck";
repo = "terraform-inventory";
sha256 = "0wwyi2nfyn3wfpmvj8aabn0cjba0lpr5nw3rgd6qdywy7sc3rmb1";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://github.com/adammck/terraform-inventory;
description = "Terraform state to ansible inventory adapter";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ htr ];
};
}