nixpkgs/pkgs/tools/misc/envsubst/default.nix

22 lines
544 B
Nix
Raw Normal View History

2018-10-03 00:16:19 +01:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "envsubst";
2020-06-26 08:54:23 +01:00
version = "1.2.0";
2018-10-03 00:16:19 +01:00
goPackagePath = "github.com/a8m/envsubst";
src = fetchFromGitHub {
owner = "a8m";
repo = "envsubst";
rev = "v${version}";
2020-06-26 08:54:23 +01:00
sha256 = "0zkgjdlw3d5xh7g45bzxqspxr61ljdli8ng4a1k1gk0dls4sva8n";
2018-10-03 00:16:19 +01:00
};
meta = with lib; {
description = "Environment variables substitution for Go";
homepage = "https://github.com/a8m/envsubst";
2018-10-03 00:16:19 +01:00
license = licenses.mit;
maintainers = with maintainers; [ nicknovitski ];
};
}