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