Merge pull request #124447 from bolasblack/feat/fn-cli
This commit is contained in:
commit
43f633241a
|
@ -1528,6 +1528,12 @@
|
||||||
githubId = 510553;
|
githubId = 510553;
|
||||||
name = "Jos van Bakel";
|
name = "Jos van Bakel";
|
||||||
};
|
};
|
||||||
|
c4605 = {
|
||||||
|
email = "bolasblack@gmail.com";
|
||||||
|
github = "bolasblack";
|
||||||
|
githubId = 382011;
|
||||||
|
name = "c4605";
|
||||||
|
};
|
||||||
caadar = {
|
caadar = {
|
||||||
email = "v88m@posteo.net";
|
email = "v88m@posteo.net";
|
||||||
github = "caadar";
|
github = "caadar";
|
||||||
|
|
36
pkgs/applications/networking/cluster/fn-cli/default.nix
Normal file
36
pkgs/applications/networking/cluster/fn-cli/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib, buildGoModule, fetchFromGitHub, docker }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "fn";
|
||||||
|
version = "0.6.6";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "fnproject";
|
||||||
|
repo = "cli";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "12s3xgrr11n8kfwsh8xpwcza1pr6b200dmc9h8igjy3s3cgg6sh7";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -30093,6 +30093,8 @@ in
|
||||||
|
|
||||||
atlantis = callPackage ../applications/networking/cluster/atlantis { };
|
atlantis = callPackage ../applications/networking/cluster/atlantis { };
|
||||||
|
|
||||||
|
fn-cli = callPackage ../applications/networking/cluster/fn-cli { };
|
||||||
|
|
||||||
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
auctex = callPackage ../tools/typesetting/tex/auctex { };
|
||||||
|
|
||||||
areca = callPackage ../applications/backup/areca {
|
areca = callPackage ../applications/backup/areca {
|
||||||
|
|
Loading…
Reference in a new issue