Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / top-level / dotnet-packages.nix
blob89fba136259e871784b9f6b4b79ada4f87bd9a97
1 { stdenv
2 , lib
3 , pkgs
4 , buildDotnetPackage
5 , buildDotnetModule
6 , fetchurl
7 , fetchFromGitHub
8 , fetchNuGet
9 , glib
10 , mono
11 , overrides ? {}
12 , boogie
13 , nuget
16 let self = dotnetPackages // overrides; dotnetPackages = with self; {
17   # ALIASES FOR MOVED PACKAGES
19   Boogie = boogie;
20   Nuget = nuget;
22   # BINARY PACKAGES
24   NUnit3 = fetchNuGet {
25     pname = "NUnit";
26     version = "3.0.1";
27     sha256 = "1g3j3kvg9vrapb1vjgq65nvn1vg7bzm66w7yjnaip1iww1yn1b0p";
28     outputFiles = [ "lib/*" ];
29   };
31   NUnit2 = fetchNuGet {
32     pname = "NUnit";
33     version = "2.6.4";
34     sha256 = "1acwsm7p93b1hzfb83ia33145x0w6fvdsfjm9xflsisljxpdx35y";
35     outputFiles = [ "lib/*" ];
36   };
38   NUnit = NUnit2;
40   NUnitConsole = fetchNuGet {
41     pname = "NUnit.Console";
42     version = "3.0.1";
43     sha256 = "154bqwm2n95syv8nwd67qh8qsv0b0h5zap60sk64z3kd3a9ffi5p";
44     outputFiles = [ "tools/*" ];
45   };
47   MaxMindDb = fetchNuGet {
48     pname = "MaxMind.Db";
49     version = "1.1.0.0";
50     sha256 = "0lixl76f7k3ldiqzg94zh13gn82w5mm5dx72y97fcqvp8g6nj3ds";
51     outputFiles = [ "lib/*" ];
52   };
54   MaxMindGeoIP2 = fetchNuGet {
55     pname = "MaxMind.GeoIP2";
56     version = "2.3.1";
57     sha256 = "1s44dvjnmj1aimbrgkmpj6h5dn1w6acgqjch1axc76yz6hwknqgf";
58     outputFiles = [ "lib/*" ];
59   };
61   SharpZipLib = fetchNuGet {
62     pname = "SharpZipLib";
63     version = "1.3.3";
64     sha256 = "sha256-HWEQTKh9Ktwg/zIl079dAiH+ob2ShWFAqLgG6XgIMr4=";
65     outputFiles = [ "lib/*" ];
66   };
68   StyleCopMSBuild = fetchNuGet {
69     pname = "StyleCop.MSBuild";
70     version = "4.7.49.0";
71     sha256 = "0rpfyvcggm881ynvgr17kbx5hvj7ivlms0bmskmb2zyjlpddx036";
72     outputFiles = [ "tools/*" ];
73   };
75   StyleCopPlusMSBuild = fetchNuGet {
76     pname = "StyleCopPlus.MSBuild";
77     version = "4.7.49.5";
78     sha256 = "1hv4lfxw72aql8siyqc4n954vzdz8p6jx9f2wrgzz0jy1k98x2mr";
79     outputFiles = [ "tools/*" ];
80   };
82   RestSharp = fetchNuGet {
83     pname = "RestSharp";
84     version = "106.12.0";
85     sha256 = "sha256-NGzveByJvCRtHlI2C8d/mLs3akyMm77NER8TUG6HiD4=";
86     outputFiles = [ "lib/*" ];
87   };
89   SharpFont = fetchNuGet {
90     pname = "SharpFont";
91     version = "4.0.1";
92     sha256 = "1yd3cm4ww0hw2k3aymf792hp6skyg8qn491m2a3fhkzvsl8z7vs8";
93     outputFiles = [ "lib/*" "config/*" ];
94   };
96   SmartIrc4net = fetchNuGet {
97     pname = "SmartIrc4net";
98     version = "0.4.5.1";
99     sha256 = "1d531sj39fvwmj2wgplqfify301y3cwp7kwr9ai5hgrq81jmjn2b";
100     outputFiles = [ "lib/*" ];
101   };
103   FuzzyLogicLibrary = fetchNuGet {
104     pname = "FuzzyLogicLibrary";
105     version = "1.2.0";
106     sha256 = "0x518i8d3rw9n51xwawa4sywvqd722adj7kpcgcm63r66s950r5l";
107     outputFiles = [ "bin/*" ];
108   };
110   OpenNAT = fetchNuGet {
111     pname = "Open.NAT";
112     version = "2.1.0";
113     sha256 = "1jyd30fwycdwx5ck96zhp2xf20yz0sp7g3pjbqhmay4kd322mfwk";
114     outputFiles = [ "lib/*" ];
115   };
117   MonoNat = fetchNuGet {
118     pname = "Mono.Nat";
119     version = "1.2.24";
120     sha256 = "0vfkach11kkcd9rcqz3s38m70d5spyb21gl99iqnkljxj5555wjs";
121     outputFiles = [ "lib/*" ];
122   };
124   NUnitRunners = fetchNuGet {
125     pname = "NUnit.Runners";
126     version = "2.6.4";
127     sha256 = "11nmi7vikn9idz8qcad9z7f73arsh5rw18fc1sri9ywz77mpm1s4";
128     outputFiles = [ "tools/*" ];
129     preInstall = "mv -v tools/lib/* tools && rmdir -v tools/lib";
130   };
132   # SOURCE PACKAGES
134   MonoAddins = buildDotnetPackage rec {
135     pname = "Mono.Addins";
136     version = "1.2";
138     xBuildFiles = [
139       "Mono.Addins/Mono.Addins.csproj"
140       "Mono.Addins.Setup/Mono.Addins.Setup.csproj"
141       "Mono.Addins.Gui/Mono.Addins.Gui.csproj"
142       "Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj"
143     ];
144     outputFiles = [ "bin/*" ];
146     src = fetchFromGitHub {
147       owner = "mono";
148       repo = "mono-addins";
149       rev = "mono-addins-${version}";
150       sha256 = "1hnn0a2qsjcjprsxas424bzvhsdwy0yc2jj5xbp698c0m9kfk24y";
151     };
153     buildInputs = [ pkgs.gtk-sharp-2_0 ];
155     meta = {
156       description = "A generic framework for creating extensible applications";
157       homepage = "https://www.mono-project.com/Mono.Addins";
158       longDescription = ''
159         A generic framework for creating extensible applications,
160         and for creating libraries which extend those applications.
161       '';
162       license = lib.licenses.mit;
163     };
164   };
166   NewtonsoftJson = fetchNuGet {
167     pname = "Newtonsoft.Json";
168     version = "11.0.2";
169     sha256 = "07na27n4mlw77f3hg5jpayzxll7f4gyna6x7k9cybmxpbs6l77k7";
170     outputFiles = [ "*" ];
171   };
173   Paket = fetchNuGet {
174     pname = "Paket";
175     version = "5.179.1";
176     sha256 = "11rzna03i145qj08hwrynya548fwk8xzxmg65swyaf19jd7gzg82";
177     outputFiles = [ "*" ];
178   };
180 }; in self