summary refs log blame commit diff
path: root/pkgs/development/tools/fission/default.nix
blob: 56d5161b49e983331b0cdd3e7fbf274e116dd9ee (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                        
                     




                         
                                                                   

    
                                                                       















                                                                 
{ lib, fetchFromGitHub, buildGoModule }:

buildGoModule rec {
  pname = "fission";
  version = "1.13.1";

  src = fetchFromGitHub {
    owner = "fission";
    repo = "fission";
    rev = version;
    sha256 = "sha256-ayVEU2Dlqun8KLP+KeI0uU4p9N4aaYLZ/IHqfA2PGrI=";
  };

  vendorSha256 = "sha256-V3/IFCbW3wXfNiFzucLeyFDc6SA2nE+NwO0sNEBmIYg=";

  buildFlagsArray = "-ldflags=-s -w -X info.Version=${version}";

  subPackages = [ "cmd/fission-cli" ];

  postInstall = ''
    ln -s $out/bin/fission-cli $out/bin/fission
  '';

  meta = with lib; {
    description = "The cli used by end user to interact Fission";
    homepage = "https://fission.io";
    license = licenses.asl20;
    maintainers = with maintainers; [ neverbehave ];
  };
}