1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/tools/misc/envsubst/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

23 lines
573 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "envsubst";
version = "1.1.0";
goPackagePath = "github.com/a8m/envsubst";
src = fetchFromGitHub {
owner = "a8m";
repo = "envsubst";
rev = "v${version}";
sha256 = "1d6nipagjn40n6iw1p3r489l2km5xjd5db9gbh1vc5sxc617l7yk";
};
meta = with lib; {
description = "Environment variables substitution for Go";
homepage = https://github.com/a8m/envsubst;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ nicknovitski ];
};
}