3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/fioctl/default.nix

29 lines
724 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "fioctl";
2021-08-25 04:57:11 +01:00
version = "0.20";
src = fetchFromGitHub {
owner = "foundriesio";
repo = "fioctl";
rev = "v${version}";
2021-08-25 04:57:11 +01:00
sha256 = "sha256-vc+V69cyJZSJa6GXUUNYeXdKvmUrVIQhsBykptcl85s=";
};
2021-08-17 05:26:52 +01:00
vendorSha256 = "sha256-SuUY4xwinky5QO+GxyotrFiYX1LnWQNjwWXIUpfVHUE=";
runVend = true;
2021-08-26 07:45:51 +01:00
ldflags = [
"-s" "-w" "-X github.com/foundriesio/fioctl/subcommands/version.Commit=${src.rev}"
];
meta = with lib; {
description = "A simple CLI to manage your Foundries Factory ";
homepage = "https://github.com/foundriesio/fioctl";
license = licenses.asl20;
maintainers = with maintainers; [ nixinator matthewcroughan ];
};
}