diff options
author | matthewcroughan <matt@croughan.sh> | 2021-03-11 03:23:52 +0000 |
---|---|---|
committer | matthewcroughan <matt@croughan.sh> | 2021-03-16 18:00:03 +0000 |
commit | 5c6f1d416f8517a6843e3b63f3a0222c7be34389 (patch) | |
tree | 7e3431452ea5268f53585d726a05596949e12dce /pkgs/tools/admin/fioctl | |
parent | 91c997cace25677bc710f08688ec849100b6b004 (diff) |
fioctl: init at v0.14.1
Update pkgs/tools/admin/fioctl/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/tools/admin/fioctl/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Update pkgs/tools/admin/fioctl/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/admin/fioctl')
-rw-r--r-- | pkgs/tools/admin/fioctl/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/admin/fioctl/default.nix b/pkgs/tools/admin/fioctl/default.nix new file mode 100644 index 0000000000000..2c04eef216077 --- /dev/null +++ b/pkgs/tools/admin/fioctl/default.nix @@ -0,0 +1,28 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "fioctl"; + version = "0.14.1"; + + src = fetchFromGitHub { + owner = "foundriesio"; + repo = "fioctl"; + rev = "v${version}"; + sha256 = "1jbj2w2s78wcnrwyr80jyc11ipjysv5aab3486kphx8ysvvgcwfs"; + }; + + vendorSha256 = "1a3x6cv18f0n01f4ac1kprzmby8dphygnwsdl98pmzs3gqqnh284"; + + runVend = true; + + buildFlagsArray = '' + -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 ]; + }; +} |