nixpkgs/pkgs/development/tools/misc/asls/default.nix
2020-08-10 01:20:31 +00:00

26 lines
627 B
Nix

{ stdenv
, fetchurl
, erlangR22
}:
stdenv.mkDerivation rec {
pname = "asls";
version = "0.4.2";
src = fetchurl {
url = "https://github.com/saulecabrera/asls/releases/download/v${version}/bin.tar.gz";
sha256 = "14dcms0xl6dncwf16vixvf7rq7g15iwq8h4vja0dsiisyfm08aks";
};
buildInputs = [ erlangR22 ];
installPhase = "install -Dm755 -t $out/bin asls";
meta = with stdenv.lib; {
description = "AssemblyScript Language Server";
homepage = "https://github.com/saulecabrera/asls";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ saulecabrera ];
};
}