Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: ballerina #52264

Closed
matthew-piziak opened this issue Dec 15, 2018 · 4 comments
Closed

Package request: ballerina #52264

matthew-piziak opened this issue Dec 15, 2018 · 4 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: package (new)

Comments

@matthew-piziak
Copy link
Contributor

Ballerina is a cloud-native programming language that makes it easy to write microservices that integrate APIs.

Source code available on GitHub here: https://github.com/ballerina-platform/ballerina-lang

Build dependencies:

  • Oracle JDK 8 or OpenJDK 8
  • Maven 3.5.0 or later
  • Node (v8.9.x) + npm (v5.6.0 or later)
  • Docker

License: Apache 2.0

@stale
Copy link

stale bot commented Jun 3, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2020
@pasviegas
Copy link

pasviegas commented Jun 22, 2020

I am not an Nix expert, but this is what I personally use as my nix-shell for Ballerina.

I tried to follow the Homebrew formula.

with import <nixpkgs> { };

let
  ballerina = stdenv.mkDerivation {
    name = "ballerina";

    src = fetchzip {
      url = "https://dist.ballerina.io/downloads/1.2.4/ballerina-1.2.4.zip";
      sha256 = "0lr0c7p2w04s9l48lhl39nz5s6fvq9ncq5l02jys7bx4mlqbca2z";
    };

    installPhase = ''
      # Make the output directory
      mkdir -p $out/bin

      # Remove windows files
      rm bin/*.bat

      # Copy the script there and make it executable
      cp -pR * $out
      chmod +x $out/bin/ballerina
    '';
  };
in mkShell { buildInputs = [ jdk8 ballerina ]; }

Hope this helps 😄

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 22, 2020
@stale
Copy link

stale bot commented Dec 24, 2020

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 24, 2020
@JohnRTitor
Copy link
Contributor

Added in #181319.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 9.needs: package (new)
Projects
None yet
Development

No branches or pull requests

4 participants