2020-04-24 23:36:52 +00:00
|
|
|
/*
|
|
|
|
How to combine packages for use in development:
|
|
|
|
dotnetCombined = with dotnetCorePackages; combinePackages [ sdk_3_1 sdk_2_2 sdk_3_0 sdk aspnetcore_2_1 ];
|
2021-04-17 00:35:05 +00:00
|
|
|
|
|
|
|
Hashes below are retrived from:
|
|
|
|
https://dotnet.microsoft.com/download/dotnet
|
2020-04-24 23:36:52 +00:00
|
|
|
*/
|
|
|
|
{ callPackage }:
|
|
|
|
let
|
2020-08-20 17:08:02 +00:00
|
|
|
buildDotnet = attrs: callPackage (import ./build-dotnet.nix attrs) {};
|
2020-05-03 17:38:23 +00:00
|
|
|
buildAspNetCore = attrs: buildDotnet (attrs // { type = "aspnetcore"; });
|
|
|
|
buildNetCore = attrs: buildDotnet (attrs // { type = "netcore"; });
|
|
|
|
buildNetCoreSdk = attrs: buildDotnet (attrs // { type = "sdk"; });
|
|
|
|
in
|
|
|
|
rec {
|
2020-08-20 17:08:02 +00:00
|
|
|
combinePackages = attrs: callPackage (import ./combine-packages.nix attrs) {};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
# v2.1.22 (LTS)
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
aspnetcore_2_1 = buildAspNetCore {
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.1.22";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2020-09-25 04:45:31 +00:00
|
|
|
x86_64-linux = "27v3a69dgnnb4lz5p2dn2qwadb8vpnqwdy6mnnqfp1dl4kgg3izvriz2268if272sy6flcz5lckjlmn0i0i1jci5zypc7x9kykj991l";
|
2020-05-03 17:38:23 +00:00
|
|
|
aarch64-linux = null; # no aarch64 version of this package is available
|
2020-09-25 04:45:31 +00:00
|
|
|
x86_64-darwin = "0xh06jmzx2cfq51hv9l4h72hbfyh3r0wlla217821gi0hlw6xcc0gb3b4xmqcs240fllqnwrnrwz0axi3xi21wacgn3xbcmzpbi6jml";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
netcore_2_1 = buildNetCore {
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.1.22";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2020-09-25 04:45:31 +00:00
|
|
|
x86_64-linux = "0c2b31l59izcxbhz5wzjpjkdl550s5p3aid4vyghq468vyf67pm0npjny50c172b63vw0ikfbps2b2hj16hpifp116gj4b5llmqjhyc";
|
|
|
|
aarch64-linux = "3llai3d2xpgbr7a4ndg9wqfpnb5zb8k07dicc57a6cmniiqyqigyxinhpx2k0l45mbnihjsr5k1rih3r6bwlj241v67iwd2i0dpqd8a";
|
|
|
|
x86_64-darwin = "106mx6a4rwcvq41v54c1yx89156s43n889im9g0q2pvm7054q8b6xm6qrnymzmj5i2i6awyk0z02j5pfiyh35sw9afxb3695ymsb3v8";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdk_2_1 = buildNetCoreSdk {
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "2.1.810";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2020-09-25 04:45:31 +00:00
|
|
|
x86_64-linux = "388nrba5f7z9syq23xh3k45rzy3iys58s32ya7a0q9mwdf1y3haw7yvbq79cn08741hhqdi73mip8jf50f4s64mbr62ay1p76zsrkj5";
|
|
|
|
aarch64-linux = "2vs8bhk63cjrqkm5n164ahc6bdz58aq9vmhaiyy27krp7wlkz4gpiva9153h7mywhk709l1qc7cddj99qsh2ygv6axjfigbhgrzslqi";
|
|
|
|
x86_64-darwin = "3qxlgbd0np0w8wmp98mhp4cqgva4zglqf7k9kzqbwxfwr5s795kap7rs5w0cy7h0bsvj0ygx3d5nzyn9hp3fsswx4jl4mkvillnvjzy";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# v2.2
|
|
|
|
|
|
|
|
sdk_2_2 = throw "Dotnet SDK 2.2 is EOL, please use 3.1";
|
|
|
|
|
|
|
|
# v3.0.2 (Maintenance)
|
|
|
|
|
|
|
|
aspnetcore_3_0 = buildAspNetCore {
|
|
|
|
version = "3.0.3";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
|
|
|
x86_64-linux = "342v6kxxbxky09d1c392vvr9rm30lf75wccka1bk2h4advlcga5nlgv93g7vrq48bsyxfi5gc36r3b0dlwl1g409g5mlk1042n6d0yq";
|
|
|
|
aarch64-linux = "2xkg4q88q5jw6jdz6cxj8vsjr475nd0fcvifkv1shdm2j9dsjy233hwpxbr140m5n5ggyh6z99238z9j4kp2az977y8y8irz8m8ppvf";
|
2020-05-29 06:06:01 +00:00
|
|
|
x86_64-darwin = "2p04j6p4j93pan71ih13hv57zxalcirh0n3vfjq0cfb80pbhf1f5cgxl24pw6kifh6hhh38rj62c4mr69lxzlqc8sfcfaws8dyz2avm";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
netcore_3_0 = buildNetCore {
|
|
|
|
version = "3.0.3";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
|
|
|
x86_64-linux = "32ykpcw2xx708r2lxcwcbxnmy4sk159rlfjfvkw990qh7n79pm3lm2qwa3zhqcslznmpg18kwxz8qb5fgsa0h49g843xx4kyai0n7rx";
|
|
|
|
aarch64-linux = "1lp8din7d5jv5fkyq1a7m01i1xg9jwpiljvam1kcyzsnwzvi0cb4ji336cfx4lqrn95gvc75gkzi6q8b4fz0h21gvk6z6kmlcr63nyg";
|
2020-05-29 06:06:01 +00:00
|
|
|
x86_64-darwin = "0s20k7xawwd09xhy4xdcxp1rw6jd418ibrvhb509dnj480g48xryda2203g4mpswd24v2kx0n9qzxgbrbq9lvasfglkxi84bbqayp83";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdk_3_0 = buildNetCoreSdk {
|
|
|
|
version = "3.0.103";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
|
|
|
x86_64-linux = "2diiplgxs92fkb6ym68b02d79z4qn63x5qlky5lvr757c1zkh0vfpk3khawdg94kdn4qkn6dmyqr0msxqgmiqyhp63cadzqq4vx7b12";
|
|
|
|
aarch64-linux = "32843q2lj7dgciq62g9v1q31vwfjyv5vaxrz712d942mcg5lyzjygwri106bv4naq3a22131ldzwnsifbdn2vq1iz60raqdb7ss9vnf";
|
2020-05-29 06:06:01 +00:00
|
|
|
x86_64-darwin = "3apswk2bhalgi0hm7h2j9p152jvp39h4xilxxzix5j1n36b442l1pwk7lj7019lxafjqkz5y850xkfcp14ks5wcvs33xs2c0aqwxvcn";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# v3.1.1 (LTS)
|
|
|
|
|
|
|
|
aspnetcore_3_1 = buildAspNetCore {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.1.19";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "c9234b5dba62c88b5f7e869c7dc7fc94d9cd7b300b0ed2461132c32762c0d3d1f23a1ee0432264704fefeb35f77ca7d1dd41910daee84df9aa325559a43cfc71";
|
|
|
|
aarch64-linux = "4cba9b43a9beb977bb50c290c0e7cbbf42664538609079dd1bc0e925a0cc4a1f76748492d4d0d402610ae910e878449bab5d797a9f12e63399585b11f9bfbee9";
|
|
|
|
x86_64-darwin = "a30959156c818d8d93df398742a70a050decfddbd777ddd6adb4d3c1aa5ed129545eab8f0aa3f12be991611dbc3582336ed747f3075906a2a29a1cd30ef3ad90";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
netcore_3_1 = buildNetCore {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.1.19";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "2cf268cc13bb4739203a18a9160aac58f2088e8ec275b1f7ef2fe2b74bc16edfdfbeb886a74fc9421edbf2899fa9e3ee7ea2734a83b1800b4a9848fb7e10bbbe";
|
|
|
|
aarch64-linux = "c6a97bc6e2f2644d57d3fa5a512274b7129956371b07e0f39f734875b15bc0c178a9b068e2fa3e06e8a3a6696163ad1856f5d87a689612211ee02e589138110e";
|
|
|
|
x86_64-darwin = "41ae9bc0212247c4721f41be384dae620971360c09fa31430f062c2ab851f10506ef620bf63ee414819b5dd20ddae8a1ce581bbe0d699378b244375e0822bd34";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sdk_3_1 = buildNetCoreSdk {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.1.413";
|
2020-05-03 17:38:23 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "2a0824f11aba0b79d3f9a36af0395649bc9b4137e61b240a48dccb671df0a5b8c2086054f8e495430b7ed6c344bb3f27ac3dfda5967d863718a6dadeca951a83";
|
|
|
|
aarch64-linux = "39f198f07577faf81f09ca621fb749d5aac38fc05e7e6bd6226009679abc7d001454068430ddb34b320901955f42de3951e2707e01bce825b5216df2bc0c8eca";
|
|
|
|
x86_64-darwin = "2c8e5b7e578aa36d40946d0deea93dff72a68ebb5504b1593d86d63022be8b65b284cf2adad711a926b7170fc865ac4cb38531a4f2ef087e07147e67300e86b8";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# v5.0.0
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
aspnetcore_5_0 = buildAspNetCore {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "5.0.10";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "60fd41e42e07a96416baf2dd7ea8112a7c7d510bc6f4656274981777d2cf5e824cd519924cdf06215338d74e78cdc7801e1b24c39b3d67cd2d1b3c6fee6474a9";
|
|
|
|
aarch64-linux = "e86dd5b26e5add2f35c3a029c78e3c447755a319c105d371da297f66db5eff260f3f55ccf23e508e9a33536876708ac2e358dc62a4a28518f88df3a9131adb01";
|
|
|
|
x86_64-darwin = "124abacba27e26249d265d51fd7abc7ab0bed9859ce3a6a8e4f193031bff3f28dd81af639542b0cc043a3957e2a90a2f5b41c6ec6b4a50a4cb8fce12bc8654f9";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
net_5_0 = buildNetCore {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "5.0.10";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "421b00d5751381e6bf829dcba8fa0d781f0efd065be492739d60a4bef2b7b362dbec77fa3289e2ee45cab40616f95318fc214699ffe2f33aa15e77c2d163841c";
|
|
|
|
aarch64-linux = "30861f2bd41fcd7c1d657be1eafa09f22886af0c3e09d1854c626b675a469347ce9fb79b2ea92b5ed4e2fd3d3457766ac03fc5393a690099e1d2b9b15f3334b9";
|
|
|
|
x86_64-darwin = "2839f4fafa1f85a90b43a74a4898cbba915324f7363f1716e58cb9163d1415fa4d360703e27d0cadfe8495a370ccddbcfcc514076a880d6343a0bff76bb5ac2a";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
sdk_5_0 = buildNetCoreSdk {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "5.0.401";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha512 = {
|
2021-09-18 10:52:07 +00:00
|
|
|
x86_64-linux = "a444d44007709ceb68d8f72dec0531e17f85f800efc0007ace4fa66ba27f095066930e6c6defcd2f85cdedea2fec25e163f5da461c1c2b8563e5cd7cb47091e0";
|
|
|
|
aarch64-linux = "770dcf18c08cd285934af61bedc06ffcc16a74115d15376f72376cdfbb4ab9cc9f53537ca1fe5d906b4b3c30b960ffe1404d6f7e01254091b4b9d288e9e972fa";
|
|
|
|
x86_64-darwin = "eca773f407314123fd5b2017f68520c0647651f53e546583c4145b596c230c42898b3e56355cd5ace76b793df4aca3cd7ff9142718c86eedeabbabb70b393d0e";
|
2020-05-03 17:38:23 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|