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>
This commit is contained in:
matthewcroughan 2021-03-11 03:23:52 +00:00
parent 91c997cace
commit 5c6f1d416f
2 changed files with 30 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -2327,6 +2327,8 @@ in
fileshelter = callPackage ../servers/web-apps/fileshelter { };
fioctl = callPackage ../tools/admin/fioctl { };
firecracker = callPackage ../applications/virtualization/firecracker { };
firectl = callPackage ../applications/virtualization/firectl { };