scrcpy: 2.7 -> 3.0 (#358820)
[NixPkgs.git] / pkgs / top-level / dotnet-packages.nix
blobb6dc7bf5300dbe7bab33901eb8f8ad0a503e4409
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     meta.mainProgram = "stylecopsettingseditor";
74   };
76   StyleCopPlusMSBuild = fetchNuGet {
77     pname = "StyleCopPlus.MSBuild";
78     version = "4.7.49.5";
79     sha256 = "1hv4lfxw72aql8siyqc4n954vzdz8p6jx9f2wrgzz0jy1k98x2mr";
80     outputFiles = [ "tools/*" ];
81   };
83   RestSharp = fetchNuGet {
84     pname = "RestSharp";
85     version = "106.12.0";
86     sha256 = "sha256-NGzveByJvCRtHlI2C8d/mLs3akyMm77NER8TUG6HiD4=";
87     outputFiles = [ "lib/*" ];
88   };
90   SharpFont = fetchNuGet {
91     pname = "SharpFont";
92     version = "4.0.1";
93     sha256 = "1yd3cm4ww0hw2k3aymf792hp6skyg8qn491m2a3fhkzvsl8z7vs8";
94     outputFiles = [ "lib/*" "config/*" ];
95   };
97   SmartIrc4net = fetchNuGet {
98     pname = "SmartIrc4net";
99     version = "0.4.5.1";
100     sha256 = "1d531sj39fvwmj2wgplqfify301y3cwp7kwr9ai5hgrq81jmjn2b";
101     outputFiles = [ "lib/*" ];
102   };
104   FuzzyLogicLibrary = fetchNuGet {
105     pname = "FuzzyLogicLibrary";
106     version = "1.2.0";
107     sha256 = "0x518i8d3rw9n51xwawa4sywvqd722adj7kpcgcm63r66s950r5l";
108     outputFiles = [ "bin/*" ];
109   };
111   OpenNAT = fetchNuGet {
112     pname = "Open.NAT";
113     version = "2.1.0";
114     sha256 = "1jyd30fwycdwx5ck96zhp2xf20yz0sp7g3pjbqhmay4kd322mfwk";
115     outputFiles = [ "lib/*" ];
116   };
118   MonoNat = fetchNuGet {
119     pname = "Mono.Nat";
120     version = "1.2.24";
121     sha256 = "0vfkach11kkcd9rcqz3s38m70d5spyb21gl99iqnkljxj5555wjs";
122     outputFiles = [ "lib/*" ];
123   };
125   NUnitRunners = fetchNuGet {
126     pname = "NUnit.Runners";
127     version = "2.6.4";
128     sha256 = "11nmi7vikn9idz8qcad9z7f73arsh5rw18fc1sri9ywz77mpm1s4";
129     outputFiles = [ "tools/*" ];
130     preInstall = "mv -v tools/lib/* tools && rmdir -v tools/lib";
131   };
133   # SOURCE PACKAGES
135   MonoAddins = buildDotnetPackage rec {
136     pname = "Mono.Addins";
137     version = "1.2";
139     xBuildFiles = [
140       "Mono.Addins/Mono.Addins.csproj"
141       "Mono.Addins.Setup/Mono.Addins.Setup.csproj"
142       "Mono.Addins.Gui/Mono.Addins.Gui.csproj"
143       "Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj"
144     ];
145     outputFiles = [ "bin/*" ];
147     src = fetchFromGitHub {
148       owner = "mono";
149       repo = "mono-addins";
150       rev = "mono-addins-${version}";
151       sha256 = "1hnn0a2qsjcjprsxas424bzvhsdwy0yc2jj5xbp698c0m9kfk24y";
152     };
154     buildInputs = [ pkgs.gtk-sharp-2_0 ];
156     meta = {
157       description = "Generic framework for creating extensible applications";
158       homepage = "https://www.mono-project.com/Mono.Addins";
159       longDescription = ''
160         A generic framework for creating extensible applications,
161         and for creating libraries which extend those applications.
162       '';
163       license = lib.licenses.mit;
164     };
165   };
167   NewtonsoftJson = fetchNuGet {
168     pname = "Newtonsoft.Json";
169     version = "11.0.2";
170     sha256 = "07na27n4mlw77f3hg5jpayzxll7f4gyna6x7k9cybmxpbs6l77k7";
171     outputFiles = [ "*" ];
172   };
174   Paket = fetchNuGet {
175     pname = "Paket";
176     version = "5.179.1";
177     sha256 = "11rzna03i145qj08hwrynya548fwk8xzxmg65swyaf19jd7gzg82";
178     outputFiles = [ "*" ];
179   };
181 }; in self