My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/applications/networking/cluster/fn-cli/default.nix

36 lines
655 B

{ lib, buildGoModule, fetchFromGitHub, docker }:
buildGoModule rec {
pname = "fn";
version = "0.6.17";
src = fetchFromGitHub {
owner = "fnproject";
repo = "cli";
rev = version;
sha256 = "sha256-u/YISLlZFYlAUejSlaH7POA2WwKURPN8phFU86/caXU=";
};
vendorSha256 = null;
subPackages = ["."];
buildInputs = [
docker
];
preBuild = ''
export HOME=$TMPDIR
'';
postInstall = ''
mv $out/bin/cli $out/bin/fn
'';
meta = with lib; {
description = "Command-line tool for the fn project";
homepage = "https://fnproject.io";
license = licenses.asl20;
maintainers = [ maintainers.c4605 ];
};
}