dotnetPackages.FSharpData: 2.2.3 -> 4.1.1

This commit is contained in:
Victor Freire 2021-06-05 14:27:22 -03:00
parent 59edafbc31
commit 974a30ce11

View File

@ -81,6 +81,20 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
outputFiles = [ "*" ];
};
FSharpData = fetchNuGet {
baseName = "FSharp.Data";
version = "4.1.1";
sha256 = "0ytjiQi8vQQU51JYexnC13Bi7NqVmLRzM75SOZ+hhQU=";
outputFiles = [ "lib/*" ];
meta = with lib; {
description = "F# Data: Library for Data Access";
homepage = "https://fsprojects.github.io/FSharp.Data/";
license = licenses.asl20;
maintainers = [ maintainers.ratsclub ];
};
};
FSharpData225 = fetchNuGet {
baseName = "FSharp.Data";
version = "2.2.5";
@ -616,50 +630,6 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
};
};
FSharpData = buildDotnetPackage rec {
baseName = "FSharp.Data";
version = "2.2.3";
src = fetchFromGitHub {
owner = "fsharp";
repo = baseName;
rev = version;
sha256 = "1h3v9rc8k0khp61cv5n01larqbxd3xcx3q52sw5zf9l0661vw7qr";
};
buildInputs = [ fsharp ];
fileProvidedTypes = fetchurl {
name = "ProvidedTypes.fs";
url = "https://raw.githubusercontent.com/fsprojects/FSharp.TypeProviders.StarterPack/877014bfa6244ac382642e113d7cd6c9bc27bc6d/src/ProvidedTypes.fs";
sha256 = "1lb056v1xld1rfx6a8p8i2jz8i6qa2r2823n5izsf1qg1qgf2980";
};
fileDebugProvidedTypes = fetchurl {
name = "DebugProvidedTypes.fs";
url = "https://raw.githubusercontent.com/fsprojects/FSharp.TypeProviders.StarterPack/877014bfa6244ac382642e113d7cd6c9bc27bc6d/src/DebugProvidedTypes.fs";
sha256 = "1whyrf2jv6fs7kgysn2086v15ggjsd54g1xfs398mp46m0nxp91f";
};
preConfigure = ''
# Copy single-files-in-git-repos
mkdir -p "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src"
cp -v "${fileProvidedTypes}" "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src/ProvidedTypes.fs"
cp -v "${fileDebugProvidedTypes}" "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src/DebugProvidedTypes.fs"
'';
xBuildFiles = [ "src/FSharp.Data.fsproj" "src/FSharp.Data.DesignTime.fsproj" ];
outputFiles = [ "bin/*.dll" "bin/*.xml" ];
meta = {
description = "F# Data: Library for Data Access";
homepage = "https://fsharp.github.io/FSharp.Data/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ obadz ];
platforms = with lib.platforms; linux;
};
};
# FSharpxExtras = buildDotnetPackage rec {
# baseName = "FSharpx.Extras";
# version = "1.8.41";