mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
39 lines
1.6 KiB
Nix
39 lines
1.6 KiB
Nix
/*
|
|
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 ];
|
|
*/
|
|
{ callPackage }:
|
|
let
|
|
buildDotnet = attrs: callPackage (import ./buildDotnet.nix attrs) {};
|
|
buildAspNetCore = attrs: buildDotnet (attrs // { type = "aspnetcore"; } );
|
|
buildNetCore = attrs: buildDotnet (attrs // { type = "netcore"; } );
|
|
buildNetCoreSdk = attrs: buildDotnet (attrs // { type = "sdk"; } );
|
|
in rec {
|
|
combinePackages = attrs: callPackage (import ./combinePackages.nix attrs) {};
|
|
|
|
# v2.1.15 (LTS)
|
|
|
|
aspnetcore_2_1 = buildAspNetCore {
|
|
version = "2.1.15";
|
|
sha512 = "a557f175cca92bb1dd66cf638ff84fe85750fab67028bd4472748b22ef0591f5f3812446a3dbe21c3d1be28c47d459d854d690dbace1b95bc7136b248af87334";
|
|
};
|
|
|
|
netcore_2_1 = buildNetCore {
|
|
version = "2.1.15";
|
|
sha512 = "cfd7f7caea7e896dd4d68a05c827c86f38595f24e854edb3f934715ee1268e2623f17ff768215e465fe596cd474497384be2b1381f04ddd6d555665a341f65f6";
|
|
};
|
|
|
|
sdk_2_1 = buildNetCoreSdk {
|
|
version = "2.1.509";
|
|
sha512 = "4B7DC25841F56AADDD685ADB227B362177268E3D052B4ADDDAC2530889B6506B7B4768B751AE75F131143424D02EEE77B4565DAD6B49048C39D2C47E39412FDF";
|
|
};
|
|
sdk_3_0 = buildNetCoreSdk {
|
|
version = "3.0.100";
|
|
sha512 = "766da31f9a0bcfbf0f12c91ea68354eb509ac2111879d55b656f19299c6ea1c005d31460dac7c2a4ef82b3edfea30232c82ba301fb52c0ff268d3e3a1b73d8f7";
|
|
};
|
|
sdk_3_1 = buildNetCoreSdk {
|
|
version = "3.1.100";
|
|
sha512 = "0hvshwsgbm6v5hc1plzdzx8bwsdna2167fnfhxpysqs5mz7crsa4f13m4cxhrbn64lasqz2007nhdrlpgaqvgll6q8736h884aaw5sj";
|
|
};
|
|
}
|