omnisharp-roslyn: init at 1.32.8
This commit is contained in:
parent
d0506bed9f
commit
dbb5de5de4
41
pkgs/development/tools/omnisharp-roslyn/default.nix
Normal file
41
pkgs/development/tools/omnisharp-roslyn/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ stdenv
|
||||
, fetchurl
|
||||
, mono5
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "omnisharp-roslyn-${version}";
|
||||
version = "1.32.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v${version}/omnisharp-mono.tar.gz";
|
||||
sha256 = "0k2a4awmzb7ppll2skyzaa94n3hxqm35ffibl0sygldk3symzwgp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
preUnpack = ''
|
||||
mkdir src
|
||||
cd src
|
||||
sourceRoot=.
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cd ..
|
||||
cp -r src $out/
|
||||
ls -al $out/src
|
||||
makeWrapper ${mono5}/bin/mono $out/bin/omnisharp \
|
||||
--add-flags "$out/src/OmniSharp.exe"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OmniSharp based on roslyn workspaces";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tesq0 ];
|
||||
};
|
||||
|
||||
}
|
|
@ -23684,6 +23684,8 @@ in
|
|||
newlib = callPackage ../development/misc/newlib { };
|
||||
newlibCross = callPackage ../development/misc/newlib {
|
||||
stdenv = crossLibcStdenv;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
omnisharp-roslyn = callPackage ../development/tools/omnisharp-roslyn { };
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue