nixpkgs/pkgs/tools/admin/aws-rotate-key/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

26 lines
624 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "aws-rotate-key";
version = "1.0.4";
goPackagePath = "github.com/Fullscreen/aws-rotate-key";
src = fetchFromGitHub {
rev = "v${version}";
owner = "Fullscreen";
repo = "aws-rotate-key";
sha256 = "14bcs434646qdywws55r1a1v8ncwz8n0yljaa8zb5796pv4445wf";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
description = "Easily rotate your AWS key";
homepage = https://github.com/Fullscreen/aws-rotate-key;
license = licenses.mit;
maintainers = [maintainers.mbode];
platforms = platforms.unix;
};
}