git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #125826 from ratsclub/dotnetPackages.FSharpData-4.1.1
commit7e77d58f2a325816764c8572814c6e841ded1a53 authorSandro <sandro.jaeckel@gmail.com> dateSat 5 Jun 2021, 23:26 (5 years ago) parentcadb17b974a30c
1 file changed+14−44
pkgs/top-level/dotnet-packages.nix+14−44
pkgs/top-level/dotnet-packages.nix+14−44
@@ -81,6 +81,20 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
8181 outputFiles = [ "*" ];
8282 };
8383
84+ FSharpData = fetchNuGet {
85+ baseName = "FSharp.Data";
86+ version = "4.1.1";
87+ sha256 = "0ytjiQi8vQQU51JYexnC13Bi7NqVmLRzM75SOZ+hhQU=";
88+ outputFiles = [ "lib/*" ];
89+
90+ meta = with lib; {
91+ description = "F# Data: Library for Data Access";
92+ homepage = "https://fsprojects.github.io/FSharp.Data/";
93+ license = licenses.asl20;
94+ maintainers = [ maintainers.ratsclub ];
95+ };
96+ };
97+
8498 FSharpData225 = fetchNuGet {
8599 baseName = "FSharp.Data";
86100 version = "2.2.5";
@@ -616,50 +630,6 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
616630 };
617631 };
618632
619− FSharpData = buildDotnetPackage rec {
620− baseName = "FSharp.Data";
621− version = "2.2.3";
622−
623− src = fetchFromGitHub {
624− owner = "fsharp";
625− repo = baseName;
626− rev = version;
627− sha256 = "1h3v9rc8k0khp61cv5n01larqbxd3xcx3q52sw5zf9l0661vw7qr";
628− };
629−
630− buildInputs = [ fsharp ];
631−
632− fileProvidedTypes = fetchurl {
633− name = "ProvidedTypes.fs";
634− url = "https://raw.githubusercontent.com/fsprojects/FSharp.TypeProviders.StarterPack/877014bfa6244ac382642e113d7cd6c9bc27bc6d/src/ProvidedTypes.fs";
635− sha256 = "1lb056v1xld1rfx6a8p8i2jz8i6qa2r2823n5izsf1qg1qgf2980";
636− };
637−
638− fileDebugProvidedTypes = fetchurl {
639− name = "DebugProvidedTypes.fs";
640− url = "https://raw.githubusercontent.com/fsprojects/FSharp.TypeProviders.StarterPack/877014bfa6244ac382642e113d7cd6c9bc27bc6d/src/DebugProvidedTypes.fs";
641− sha256 = "1whyrf2jv6fs7kgysn2086v15ggjsd54g1xfs398mp46m0nxp91f";
642− };
643−
644− preConfigure = ''
645− # Copy single-files-in-git-repos
646− mkdir -p "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src"
647− cp -v "${fileProvidedTypes}" "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src/ProvidedTypes.fs"
648− cp -v "${fileDebugProvidedTypes}" "paket-files/fsprojects/FSharp.TypeProviders.StarterPack/src/DebugProvidedTypes.fs"
649− '';
650−
651− xBuildFiles = [ "src/FSharp.Data.fsproj" "src/FSharp.Data.DesignTime.fsproj" ];
652− outputFiles = [ "bin/*.dll" "bin/*.xml" ];
653−
654− meta = {
655− description = "F# Data: Library for Data Access";
656− homepage = "https://fsharp.github.io/FSharp.Data/";
657− license = lib.licenses.asl20;
658− maintainers = with lib.maintainers; [ obadz ];
659− platforms = with lib.platforms; linux;
660− };
661− };
662−
663633 # FSharpxExtras = buildDotnetPackage rec {
664634 # baseName = "FSharpx.Extras";
665635 # version = "1.8.41";