Merge pull request #8474 from obadz/moar-dotnet

Some dotnet upgrades + a few new packages

lethalman 5ee8b66a ec222230

+194 -28
+3 -3
pkgs/applications/editors/monodevelop/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - version = "5.9.0.431"; 9 - revision = "7560726734fc7267de2fa9abed2509968deefaa8"; 8 + version = "5.9.4.5"; 9 + revision = "8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b"; 10 10 name = "monodevelop-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "http://download.mono-project.com/sources/monodevelop/${name}.tar.bz2"; 14 - sha256 = "1bgqvlfi6pilj2zxsviqilh63qq98wsijqdiqwpkqchcw741zlyn"; 14 + sha256 = "0bim4bfv3zwijafl9g0cx3159zq43dlcv74mnyrda41j4p52w5ji"; 15 15 }; 16 16 17 17 nunit2510 = fetchurl {
+191 -25
pkgs/top-level/dotnet-packages.nix
··· 81 81 outputFiles = [ "Lib/Net40/*" ]; 82 82 }; 83 83 84 + FSharpFormatting = fetchNuGet { 85 + baseName = "FSharp.Formatting"; 86 + version = "2.9.8"; 87 + sha256 = "1bswcpa68i2lqds4kkl2qxgkfrppbpxa4jkyja48azljajh0df3m"; 88 + outputFiles = [ "lib/net40/*" ]; 89 + }; 90 + 84 91 NUnit = fetchNuGet { 85 92 baseName = "NUnit"; 86 93 version = "2.6.4"; ··· 113 120 114 121 # SOURCE PACKAGES 115 122 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 + 169 + ExcelDna = buildDotnetPackage rec { 170 + baseName = "Excel-DNA"; 171 + version = "0.32.0"; 172 + 173 + src = fetchFromGitHub { 174 + owner = "Excel-DNA"; 175 + repo = "ExcelDna"; 176 + rev = "10a163843bcc2fb5517f6f3d499e18a8b64df511"; 177 + sha256 = "1w2ag9na20ly0m2sic3nkgdc4qqyb4x4c9iv588ynpkgd1pjndrk"; 178 + }; 179 + 180 + buildInputs = [ ]; 181 + 182 + preConfigure = '' 183 + rm -vf Distribution/*.dll Distribution/*.exe # Make sure we don't use those 184 + substituteInPlace Source/ExcelDna.Integration/ExcelDna.Integration.csproj --replace LogDisplay.designer.cs LogDisplay.Designer.cs 185 + ''; 186 + 187 + xBuildFiles = [ "Source/ExcelDna.sln" ]; 188 + outputFiles = [ "Source/ExcelDnaPack/bin/Release/*" "Distribution/ExcelDna.xll" "Distribution/ExcelDna64.xll" ]; 189 + 190 + meta = { 191 + description = "Excel-DNA is an independent project to integrate .NET into Excel"; 192 + homepage = "http://excel-dna.net/"; 193 + license = stdenv.lib.licenses.mit; 194 + maintainers = with stdenv.lib.maintainers; [ obadz ]; 195 + platforms = with stdenv.lib.platforms; linux; 196 + }; 197 + }; 198 + 199 + ExcelDnaRegistration = buildDotnetPackage rec { 200 + baseName = "Excel-DNA.Registration"; 201 + version = "git-" + (builtins.substring 0 10 rev); 202 + rev = "69abb1b3528f40dbcf425e13690aaeab5f707bb6"; 203 + 204 + src = fetchFromGitHub { 205 + inherit rev; 206 + owner = "Excel-DNA"; 207 + repo = "Registration"; 208 + sha256 = "094932h6r2f4x9r5mnw8rm4jzz8vkfv90d95qi3h0i89ws2dnn07"; 209 + }; 210 + 211 + buildInputs = [ 212 + fsharp 213 + dotnetPackages.ExcelDna 214 + ]; 215 + 216 + xBuildFiles = [ "Source/ExcelDna.Registration/ExcelDna.Registration.csproj" "Source/ExcelDna.Registration.FSharp/ExcelDna.Registration.FSharp.fsproj" ]; 217 + outputFiles = [ "Source/ExcelDna.Registration/bin/Release/*" "Source/ExcelDna.Registration.FSharp/bin/Release/*FSharp*" ]; 218 + 219 + meta = { 220 + description = "This library implements helper functions to assist and modify the Excel-DNA function registration"; 221 + homepage = "https://github.com/Excel-DNA/Registration"; 222 + license = stdenv.lib.licenses.mit; 223 + maintainers = with stdenv.lib.maintainers; [ obadz ]; 224 + platforms = with stdenv.lib.platforms; linux; 225 + }; 226 + }; 227 + 116 228 ExtCore = buildDotnetPackage rec { 117 229 baseName = "ExtCore"; 118 230 version = "0.8.46"; ··· 149 261 150 262 FSharpAutoComplete = buildDotnetPackage rec { 151 263 baseName = "FSharp.AutoComplete"; 152 - version = "0.16.0"; 264 + version = "0.18.2"; 153 265 154 - src = fetchurl { 155 - name = "${baseName}-${version}.tar.gz"; 156 - url = "https://github.com/fsharp/FSharp.AutoComplete/archive/${version}.tar.gz"; 157 - sha256 = "0mwp456zfw1sjy2mafz2shx0sjn4f858pfnsmawy50g8l2znw8qg"; 266 + src = fetchFromGitHub { 267 + owner = "fsharp"; 268 + repo = "FSharp.AutoComplete"; 269 + rev = version; 270 + sha256 = "1ikl72003xzqq2dc8i6h404hnq3q5g1p1q4rmzz9bdm7282q2jgs"; 158 271 }; 159 272 160 273 buildInputs = [ ··· 177 290 178 291 FSharpCompilerService = buildDotnetPackage rec { 179 292 baseName = "FSharp.Compiler.Service"; 180 - version = "0.0.89"; 293 + version = "0.0.90"; 181 294 182 295 src = fetchFromGitHub { 183 296 owner = "fsharp"; 184 297 repo = "FSharp.Compiler.Service"; 185 - rev = "55a8143a82bb31c3e8c1ad2af64eb64162fed0d7"; 186 - sha256 = "1f5f97382h8v9p0j7c2gksrps12d869m752n692b3g0k8h4zpial"; 298 + rev = "a87939ab3f3c571cad79bc3b5f298aa3e180e6b3"; 299 + sha256 = "0axr38q8m0h11hhbxg5myd1wwfgysadriln8c7bqsv5sf9djihvd"; 187 300 }; 188 301 189 302 buildInputs = [ ··· 204 317 205 318 FSharpData = buildDotnetPackage rec { 206 319 baseName = "FSharp.Data"; 207 - version = "2.2.2"; 320 + version = "2.2.3"; 208 321 209 - src = fetchurl { 210 - name = "${baseName}-${version}.tar.gz"; 211 - url = "https://github.com/fsharp/FSharp.Data/archive/${version}.tar.gz"; 212 - sha256 = "1li33ydjxz18v8siw53vv1nmkp5w7sdlsjcrfp6dzcynpvwbjw3s"; 322 + src = fetchFromGitHub { 323 + owner = "fsharp"; 324 + repo = baseName; 325 + rev = version; 326 + sha256 = "1h3v9rc8k0khp61cv5n01larqbxd3xcx3q52sw5zf9l0661vw7qr"; 213 327 }; 214 328 215 329 buildInputs = [ fsharp ]; ··· 277 391 # }; 278 392 # }; 279 393 394 + MathNetNumerics = buildDotnetPackage rec { 395 + baseName = "MathNet.Numerics"; 396 + version = "3.7.0"; 397 + 398 + src = fetchurl { 399 + name = "${baseName}-${version}.tar.gz"; 400 + url = "https://github.com/mathnet/mathnet-numerics/archive/v${version}.tar.gz"; 401 + sha256 = "1yq6aqmc2gwh96z544qn83kby01lv1lsxm158hq0bimv2i9yywc7"; 402 + }; 403 + 404 + buildInputs = [ fsharp ]; 405 + 406 + xBuildFiles = [ "MathNet.Numerics.sln" ]; 407 + outputFiles = [ "out/lib/Net40/*" "src/FSharp/MathNet.Numerics.fsx" "src/FSharp/MathNet.Numerics.IfSharp.fsx" ]; 408 + 409 + meta = { 410 + description = "Math.NET Numerics is an opensource numerical library for .Net, Silverlight and Mono."; 411 + homepage = http://numerics.mathdotnet.com/; 412 + license = stdenv.lib.licenses.mit; 413 + maintainers = with stdenv.lib.maintainers; [ obadz ]; 414 + platforms = with stdenv.lib.platforms; linux; 415 + }; 416 + }; 417 + 280 418 MonoDevelopFSharpBinding = buildDotnetPackage rec { 281 419 baseName = "MonoDevelop.FSharpBinding"; 282 420 version = "git-a09c8185eb"; ··· 426 564 427 565 Paket = buildDotnetPackage rec { 428 566 baseName = "Paket"; 429 - version = "1.6.2"; 567 + version = "1.18.2"; 430 568 431 - src = fetchurl { 432 - name = "${baseName}-${version}.tar.gz"; 433 - url = "https://github.com/fsprojects/Paket/archive/${version}.tar.gz"; 434 - sha256 = "1ryslxdgc3r7kcn1gq4bqcyrqdi8z6364aj3lr7yjz71wi22fca8"; 569 + src = fetchFromGitHub { 570 + owner = "fsprojects"; 571 + repo = "Paket"; 572 + rev = version; 573 + sha256 = "04iwy3mggz7xn36lhzyrwqzlw451a16jblwx131qjm6fnac6rq1m"; 435 574 }; 436 575 437 576 buildInputs = [ ··· 447 586 sha256 = "1zxigqgb2s2v755622jbbzibvf91990x2dijhbdgg646vsybkpdp"; 448 587 }; 449 588 450 - # fileOctokit = fetchurl { 451 - # name = "Octokit.fsx"; 452 - # url = https://raw.githubusercontent.com/fsharp/FAKE/8e65e2fc1406f326b44f3f87ec9ca9b3127a6e78/modules/Octokit/Octokit.fsx; 453 - # sha256 = "16qxwmgyg3fn3z9a8hppv1m579828x7lvfj8qflcgs2g6ciagsir"; 454 - # }; 455 - 456 589 fileGlobbing = fetchurl { 457 590 name = "Globbing.fs"; 458 591 url = https://raw.githubusercontent.com/fsharp/FAKE/8e65e2fc1406f326b44f3f87ec9ca9b3127a6e78/src/app/FakeLib/Globbing/Globbing.fs; ··· 477 610 cp -v "${fileErrorHandling}" "paket-files/fsprojects/Chessie/src/Chessie/ErrorHandling.fs" 478 611 ''; 479 612 480 - xBuildFiles = [ ]; 613 + xBuildFiles = [ "Paket.sln" ]; 481 614 482 615 outputFiles = [ "bin/*" ]; 483 616 exeFiles = [ "paket.exe" ]; ··· 485 618 meta = { 486 619 description = "A dependency manager for .NET and Mono projects"; 487 620 homepage = "http://fsprojects.github.io/Paket/"; 621 + license = stdenv.lib.licenses.mit; 622 + maintainers = with stdenv.lib.maintainers; [ obadz ]; 623 + platforms = with stdenv.lib.platforms; linux; 624 + }; 625 + }; 626 + 627 + Projekt = buildDotnetPackage rec { 628 + baseName = "projekt"; 629 + version = "git-" + (builtins.substring 0 10 rev); 630 + rev = "715a21e5cd3c86310387562618b04e979d0ec9c4"; 631 + 632 + src = fetchFromGitHub { 633 + inherit rev; 634 + owner = "kjnilsson"; 635 + repo = "projekt"; 636 + sha256 = "1ph3af07wmia6qkiq1qlywaj2xh6zn5drdx19dwb1g3237h5fnz0"; 637 + }; 638 + 639 + buildInputs = [ 640 + fsharp 641 + dotnetPackages.UnionArgParser 642 + dotnetPackages.FsUnit 643 + ]; 644 + 645 + preConfigure = '' 646 + sed -i -e "s/FSharp.Core, Version=\$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a/FSharp.Core/" src/Projekt/Projekt.fsproj 647 + ''; 648 + 649 + outputFiles = [ "src/Projekt/bin/Release/*" ]; 650 + 651 + meta = { 652 + description = "A command-line tool for manipulating F# project files"; 653 + homepage = "https://github.com/kjnilsson/projekt"; 488 654 license = stdenv.lib.licenses.mit; 489 655 maintainers = with stdenv.lib.maintainers; [ obadz ]; 490 656 platforms = with stdenv.lib.platforms; linux;