Merge pull request #57205 from tesq0/pull-request-omnisharp

omnisharp-roslyn: init at 1.32.8
This commit is contained in:
Joachim F 2019-04-27 09:08:38 +00:00 committed by GitHub
commit 357df763a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 2 deletions

@ -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 ];
};
}

@ -23856,6 +23856,8 @@ in
newlib = callPackage ../development/misc/newlib { }; newlib = callPackage ../development/misc/newlib { };
newlibCross = callPackage ../development/misc/newlib { newlibCross = callPackage ../development/misc/newlib {
stdenv = crossLibcStdenv; stdenv = crossLibcStdenv;
}; };
omnisharp-roslyn = callPackage ../development/tools/omnisharp-roslyn { };
} }