git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8474 from obadz/moar-dotnet

Some dotnet upgrades + a few new packages

commit5ee8b66a68f8855e113df21562b415aeb567e8b9 authorlethalman <lucabru@src.gnome.org> dateWed 24 Jun 2015, 14:32 (11 years ago) parentec2222333e0dbb
2 files changed+194−28
pkgs/applications/editors/monodevelop/default.nix+3−3 pkgs/top-level/dotnet-packages.nix+191−25
pkgs/applications/editors/monodevelop/default.nix+3−3
@@ -5,13 +5,13 @@
55}:
66
77stdenv.mkDerivation rec {
8− version = "5.9.0.431";
9− revision = "7560726734fc7267de2fa9abed2509968deefaa8";
8+ version = "5.9.4.5";
9+ revision = "8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b";
1010 name = "monodevelop-${version}";
1111
1212 src = fetchurl {
1313 url = "http://download.mono-project.com/sources/monodevelop/${name}.tar.bz2";
14− sha256 = "1bgqvlfi6pilj2zxsviqilh63qq98wsijqdiqwpkqchcw741zlyn";
14+ sha256 = "0bim4bfv3zwijafl9g0cx3159zq43dlcv74mnyrda41j4p52w5ji";
1515 };
1616
1717 nunit2510 = fetchurl {
pkgs/top-level/dotnet-packages.nix+191−25
@@ -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,111 @@ 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+
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+
116228 ExtCore = buildDotnetPackage rec {
117229 baseName = "ExtCore";
118230 version = "0.8.46";
@@ -149,12 +261,13 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
149261
150262 FSharpAutoComplete = buildDotnetPackage rec {
151263 baseName = "FSharp.AutoComplete";
152− version = "0.16.0";
264+ version = "0.18.2";
153265
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";
158271 };
159272
160273 buildInputs = [
@@ -177,13 +290,13 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
177290
178291 FSharpCompilerService = buildDotnetPackage rec {
179292 baseName = "FSharp.Compiler.Service";
180− version = "0.0.89";
293+ version = "0.0.90";
181294
182295 src = fetchFromGitHub {
183296 owner = "fsharp";
184297 repo = "FSharp.Compiler.Service";
185− rev = "55a8143a82bb31c3e8c1ad2af64eb64162fed0d7";
186− sha256 = "1f5f97382h8v9p0j7c2gksrps12d869m752n692b3g0k8h4zpial";
298+ rev = "a87939ab3f3c571cad79bc3b5f298aa3e180e6b3";
299+ sha256 = "0axr38q8m0h11hhbxg5myd1wwfgysadriln8c7bqsv5sf9djihvd";
187300 };
188301
189302 buildInputs = [
@@ -204,12 +317,13 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
204317
205318 FSharpData = buildDotnetPackage rec {
206319 baseName = "FSharp.Data";
207− version = "2.2.2";
320+ version = "2.2.3";
208321
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";
213327 };
214328
215329 buildInputs = [ fsharp ];
@@ -277,6 +391,30 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
277391 # };
278392 # };
279393
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+
280418 MonoDevelopFSharpBinding = buildDotnetPackage rec {
281419 baseName = "MonoDevelop.FSharpBinding";
282420 version = "git-a09c8185eb";
@@ -426,12 +564,13 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
426564
427565 Paket = buildDotnetPackage rec {
428566 baseName = "Paket";
429− version = "1.6.2";
567+ version = "1.18.2";
430568
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";
435574 };
436575
437576 buildInputs = [
@@ -447,12 +586,6 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
447586 sha256 = "1zxigqgb2s2v755622jbbzibvf91990x2dijhbdgg646vsybkpdp";
448587 };
449588
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−
456589 fileGlobbing = fetchurl {
457590 name = "Globbing.fs";
458591 url = https://raw.githubusercontent.com/fsharp/FAKE/8e65e2fc1406f326b44f3f87ec9ca9b3127a6e78/src/app/FakeLib/Globbing/Globbing.fs;
@@ -477,7 +610,7 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
477610 cp -v "${fileErrorHandling}" "paket-files/fsprojects/Chessie/src/Chessie/ErrorHandling.fs"
478611 '';
479612
480− xBuildFiles = [ ];
613+ xBuildFiles = [ "Paket.sln" ];
481614
482615 outputFiles = [ "bin/*" ];
483616 exeFiles = [ "paket.exe" ];
@@ -491,6 +624,39 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
491624 };
492625 };
493626
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";
654+ license = stdenv.lib.licenses.mit;
655+ maintainers = with stdenv.lib.maintainers; [ obadz ];
656+ platforms = with stdenv.lib.platforms; linux;
657+ };
658+ };
659+
494660 UnionArgParser = buildDotnetPackage rec {
495661 baseName = "UnionArgParser";
496662 version = "0.8.7";