2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, erlangR22
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "asls";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "0.5.0";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/saulecabrera/asls/releases/download/v${version}/bin.tar.gz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "1h6r2lbf54aylzmbiy74ys42fhjv9q824bdrcp40gxx1v2yjc5h5";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|