depot/third_party/nixpkgs/pkgs/development/tools/misc/asls/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
625 B
Nix

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