mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
a3ba9b4bd8
fsautocomplete: 0.69.0 -> 0.71.0
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{ lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages }:
|
|
|
|
buildDotnetModule rec {
|
|
pname = "fsautocomplete";
|
|
version = "0.71.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fsharp";
|
|
repo = "FsAutoComplete";
|
|
rev = "v${version}";
|
|
hash = "sha256-WajKmRDCMJ74qT2/NhUWRq+bytxt49vi98bm1QleEKo=";
|
|
};
|
|
|
|
nugetDeps = ./deps.nix;
|
|
|
|
postPatch = ''
|
|
rm global.json
|
|
|
|
substituteInPlace src/FsAutoComplete/FsAutoComplete.fsproj \
|
|
--replace TargetFrameworks TargetFramework \
|
|
'';
|
|
|
|
dotnet-sdk = with dotnetCorePackages; combinePackages [ sdk_6_0 sdk_7_0 ];
|
|
dotnet-runtime = dotnetCorePackages.sdk_7_0;
|
|
|
|
projectFile = "src/FsAutoComplete/FsAutoComplete.fsproj";
|
|
executables = [ "fsautocomplete" ];
|
|
|
|
useDotnetFromEnv = true;
|
|
|
|
meta = with lib; {
|
|
description = "The FsAutoComplete project (FSAC) provides a backend service for rich editing or intellisense features for editors.";
|
|
mainProgram = "fsautocomplete";
|
|
homepage = "https://github.com/fsharp/FsAutoComplete";
|
|
changelog = "https://github.com/fsharp/FsAutoComplete/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ gbtb mdarocha ];
|
|
};
|
|
}
|