@@ -81,6 +81,13 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
8181 outputFiles = [ "Lib/Net40/*" ];
8282 };
8383
84+ FSharpFormatting = fetchNuGet {
85+ baseName = "FSharp.Formatting";
86+ version = "2.9.8";
87+ sha256 = "1bswcpa68i2lqds4kkl2qxgkfrppbpxa4jkyja48azljajh0df3m";
88+ outputFiles = [ "lib/net40/*" ];
89+ };
90+
8491 NUnit = fetchNuGet {
8592 baseName = "NUnit";
8693 version = "2.6.4";
@@ -113,6 +120,52 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
113120
114121 # SOURCE PACKAGES
115122
123+ Deedle = buildDotnetPackage rec {
124+ baseName = "Deedle";
125+ version = "1.2.0";
126+
127+ src = fetchFromGitHub {
128+ owner = "BlueMountainCapital";
129+ repo = baseName;
130+ rev = "v${version}";
131+ sha256 = "115zzh3q57w8wr02cl2v8wijnj1rg01j1mk9zbzixbb4aird72n5";
132+ };
133+
134+ # Enough files from this repo are needed that it will be quicker to just get the entire repo
135+ fsharpDataSrc = fetchFromGitHub {
136+ owner = "fsharp";
137+ repo = "FSharp.Data";
138+ rev = "2.2.3";
139+ sha256 = "1h3v9rc8k0khp61cv5n01larqbxd3xcx3q52sw5zf9l0661vw7qr";
140+ };
141+
142+ buildInputs = [
143+ fsharp
144+ dotnetPackages.FsCheck
145+ dotnetPackages.FSharpCompilerService
146+ dotnetPackages.FSharpData
147+ dotnetPackages.FSharpFormatting
148+ dotnetPackages.MathNetNumerics
149+ dotnetPackages.NUnit
150+ ];
151+
152+ preConfigure = ''
153+ mkdir -vp paket-files/fsharp
154+ ln -sv ${fsharpDataSrc} paket-files/fsharp/FSharp.Data
155+ '';
156+
157+ xBuildFiles = [ "Deedle.Core.sln" ]; # Come back later to get RProvider as well
158+ outputFiles = [ "bin/*" "LICENSE.md" ];
159+
160+ meta = {
161+ description = "Deedle is an easy to use library for data and time series manipulation and for scientific programming";
162+ homepage = "http://bluemountaincapital.github.io/Deedle/";
163+ license = stdenv.lib.licenses.free;
164+ maintainers = with stdenv.lib.maintainers; [ obadz ];
165+ platforms = with stdenv.lib.platforms; linux;
166+ };
167+ };
168+
116169 ExcelDna = buildDotnetPackage rec {
117170 baseName = "Excel-DNA";
118171 version = "0.32.0";
@@ -266,10 +319,11 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
266319 baseName = "FSharp.Data";
267320 version = "2.2.3";
268321
269− src = fetchurl {
270− name = "${baseName}-${version}.tar.gz";
271− url = "https://github.com/fsharp/FSharp.Data/archive/${version}.tar.gz";
272− sha256 = "162ncwjyc74ndh3m5dpppg9aag1f8ijkjwv5dx0mid3mw592bjh1";
322+ src = fetchFromGitHub {
323+ owner = "fsharp";
324+ repo = baseName;
325+ rev = version;
326+ sha256 = "1h3v9rc8k0khp61cv5n01larqbxd3xcx3q52sw5zf9l0661vw7qr";
273327 };
274328
275329 buildInputs = [ fsharp ];