mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
763 B
Nix
29 lines
763 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "awsls";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jckuester";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-iy9tohmVUtNXYVfe6pZ+pbbLlcK6Fu1GgzTWMD+3xP0=";
|
|
};
|
|
|
|
vendorHash = "sha256-ZyMO+KCqoePF6MqHFt8X4tZR4nBhuSPgJDrX+emM6jc=";
|
|
|
|
ldflags =
|
|
let t = "github.com/jckuester/awsls/internal";
|
|
in [ "-s" "-w" "-X ${t}.version=${version}" "-X ${t}.commit=${src.rev}" "-X ${t}.date=unknown" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "List command for AWS resources";
|
|
homepage = "https://github.com/jckuester/awsls";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.markus1189 ];
|
|
mainProgram = "awsls";
|
|
};
|
|
}
|