2020-05-10 02:16:06 +00:00
|
|
|
{ buildDhallGitHubPackage, lib }:
|
2020-02-12 06:02:53 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
makePrelude =
|
2020-05-10 02:16:06 +00:00
|
|
|
version: { rev, sha256 }:
|
|
|
|
buildDhallGitHubPackage {
|
|
|
|
name = "Prelude-${version}";
|
|
|
|
owner = "dhall-lang";
|
|
|
|
repo = "dhall-lang";
|
|
|
|
directory = "Prelude";
|
|
|
|
file = "package.dhall";
|
2020-02-12 06:02:53 +00:00
|
|
|
|
2020-05-10 02:16:06 +00:00
|
|
|
inherit rev sha256;
|
|
|
|
};
|
2020-02-12 06:02:53 +00:00
|
|
|
|
|
|
|
in
|
|
|
|
lib.mapAttrs makePrelude {
|
|
|
|
# Prelude versions older than 7.0.0 use old-style union literals, which are
|
|
|
|
# no longer supported by the latest version of the standard
|
|
|
|
"7.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "f0509b403ace4b8a72ebb5fa9c473b9aeabeaf33";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "00ldlvqfh411vnrnc41zfnlvgfanwfd3l8hdia8kni3r8q9qmd71";
|
|
|
|
};
|
|
|
|
|
|
|
|
"8.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "136a3491753fef251b2087031617d1ee1053f285";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "0haxd5dhi5bmg06a0hx1blpivmwrcnndydwagibj3zvch4knyi2q";
|
|
|
|
};
|
|
|
|
|
|
|
|
"9.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "6cbf57c946e7e6576babc23a38320e53ecfa6bee";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "1r06fijszyifq5b4j6libwkm06g8693m9n5c4kq61dvzrjfd2gim";
|
|
|
|
};
|
|
|
|
|
|
|
|
"10.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "ecbf82785cff406bbd162bbabf3df6f817c805e0";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "0gxkr9649jqpykdzqjc98gkwnjry8wp469037brfghyidwsm021m";
|
|
|
|
};
|
|
|
|
|
|
|
|
"11.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "8098184d17c3aecc82674a7b874077a7641be05a";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "0rdvyxq7mvas82wsfzzpk6imzm8ax4q58l522mx0ks69pacpr3yi";
|
|
|
|
};
|
|
|
|
|
|
|
|
"11.1.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "31e90e1996f6c4cb50e03ccb1f3c45beb4bd278c";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "0rdvyxq7mvas82wsfzzpk6imzm8ax4q58l522mx0ks69pacpr3yi";
|
|
|
|
};
|
|
|
|
|
|
|
|
"12.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "9f248138f69ee5e22192dc3d0417d5c77b189e04";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "1gbr0376sfamp0ibhcbxz4vaxr6ipv42y42p5wyksfhz3ls9x5ph";
|
|
|
|
};
|
|
|
|
|
|
|
|
"13.0.0" = {
|
2020-02-17 00:02:24 +00:00
|
|
|
rev = "48db9e1ff1f8881fa4310085834fbc19e313ebf0";
|
2020-02-12 06:02:53 +00:00
|
|
|
sha256 = "0kg3rzag3irlcldck63rjspls614bc2sbs3zq44h0pzcz9v7z5h9";
|
|
|
|
};
|
|
|
|
}
|