1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/misc/asls/default.nix

26 lines
627 B
Nix
Raw Normal View History

2020-06-30 01:21:00 +01:00
{ stdenv
, fetchurl
, erlangR22
}:
stdenv.mkDerivation rec {
pname = "asls";
2020-10-17 17:14:12 +01:00
version = "0.5.1";
2020-06-30 01:21:00 +01:00
src = fetchurl {
url = "https://github.com/saulecabrera/asls/releases/download/v${version}/bin.tar.gz";
2020-10-17 17:14:12 +01:00
sha256 = "05kp44p4q4sdykfw0b4k9j3qdp0qvwgjbs48ncmnd0ass0xrmi3s";
2020-06-30 01:21:00 +01: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 ];
};
}