From b862939683da629340a35c80d51f895feca68454 Mon Sep 17 00:00:00 2001 From: Aaron Janse Date: Sun, 8 Mar 2020 15:30:29 -0700 Subject: [PATCH] flyctl: init at 0.0.102 --- pkgs/development/web/flyctl/default.nix | 32 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/web/flyctl/default.nix diff --git a/pkgs/development/web/flyctl/default.nix b/pkgs/development/web/flyctl/default.nix new file mode 100644 index 000000000000..85165d501d97 --- /dev/null +++ b/pkgs/development/web/flyctl/default.nix @@ -0,0 +1,32 @@ +{ buildGoModule, fetchFromGitHub, lib }: + +buildGoModule rec { + pname = "flyctl"; + version = "0.0.102"; + + src = fetchFromGitHub { + owner = "superfly"; + repo = "flyctl"; + rev = "v${version}"; + sha256 = "181j248i8j9g7kz5krg0bkbxkvmcwpz2vlknii5q3dy7yhgg19h3"; + }; + + preBuild = '' + go generate ./... + ''; + + preFixup = '' + rm $out/bin/doc + rm $out/bin/helpgen + ''; + + modSha256 = "1mqkc7hnavvpbqar9f1d2vnm47p4car9abnk2ikyf27jr5glwmsd"; + + meta = with lib; { + description = "Command line tools for fly.io services"; + homepage = "https://fly.io/"; + license = licenses.asl20; + maintainers = with maintainers; [ aaronjanse ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e0274ef06ac6..60521450d2c6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8002,6 +8002,8 @@ in }; fasm-bin = callPackage ../development/compilers/fasm/bin.nix { }; + flyctl = callPackage ../development/web/flyctl { }; + fpc = callPackage ../development/compilers/fpc { }; gambit = callPackage ../development/compilers/gambit { stdenv = gccStdenv; };