diff options
author | Morgan Jones <me@numin.it> | 2018-09-09 07:12:36 +0000 |
---|---|---|
committer | Morgan Jones <me@numin.it> | 2018-09-09 07:15:59 +0000 |
commit | 213b5457fc0a343d71c9ee1a84ea3722b3b05388 (patch) | |
tree | eeeef200eefb313384a44d5b69c73e217a8a519a /pkgs/games/dwarf-fortress/twbt | |
parent | 2cd2571edd0fef223e65d9039059871e3ab61d1c (diff) |
Inline JSON files
Diffstat (limited to 'pkgs/games/dwarf-fortress/twbt')
-rw-r--r-- | pkgs/games/dwarf-fortress/twbt/default.nix | 33 | ||||
-rw-r--r-- | pkgs/games/dwarf-fortress/twbt/twbt.json | 32 |
2 files changed, 32 insertions, 33 deletions
diff --git a/pkgs/games/dwarf-fortress/twbt/default.nix b/pkgs/games/dwarf-fortress/twbt/default.nix index 1bdbddb56de4..7c80c1012462 100644 --- a/pkgs/games/dwarf-fortress/twbt/default.nix +++ b/pkgs/games/dwarf-fortress/twbt/default.nix @@ -5,7 +5,38 @@ with lib; let - twbt-releases = builtins.fromJSON (builtins.readFile ./twbt.json); + twbt-releases = { + "0.43.05" = { + twbtRelease = "6.22"; + sha256 = "0di5d38f6jj9smsz0wjcs1zav4zba6hrk8cbn59kwpb1wamsh5c7"; + prerelease = false; + }; + "0.44.05" = { + twbtRelease = "6.35"; + sha256 = "0qjkgl7dsqzsd7pdq8a5bihhi1wplfkv1id7sj6dp3swjpsfxp8g"; + prerelease = false; + }; + "0.44.09" = { + twbtRelease = "6.41"; + sha256 = "0nsq15z05pbhqjvw2xqs1a9b1n2ma0aalhc3vh3mi4cd4k7lxh44"; + prerelease = false; + }; + "0.44.10" = { + twbtRelease = "6.49"; + sha256 = "1qjkc7k33qhxj2g18njzasccjqsis5y8zrw5vl90h4rs3i8ld9xz"; + prerelease = false; + }; + "0.44.11" = { + twbtRelease = "6.51"; + sha256 = "1yclqmarjd97ch054h425a12r8a5ailmflsd7b39cg4qhdr1nii5"; + prerelease = true; + }; + "0.44.12" = { + twbtRelease = "6.54"; + sha256 = "10gfd6vv0vk4v1r5hjbz7vf1zqys06dsad695gysc7fbcik2dakh"; + prerelease = false; + }; + }; release = if hasAttr dfVersion twbt-releases then getAttr dfVersion twbt-releases diff --git a/pkgs/games/dwarf-fortress/twbt/twbt.json b/pkgs/games/dwarf-fortress/twbt/twbt.json deleted file mode 100644 index f7de1c14e6b6..000000000000 --- a/pkgs/games/dwarf-fortress/twbt/twbt.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "0.43.05": { - "twbtRelease": "6.22", - "sha256": "0di5d38f6jj9smsz0wjcs1zav4zba6hrk8cbn59kwpb1wamsh5c7", - "prerelease": false - }, - "0.44.05": { - "twbtRelease": "6.35", - "sha256": "0qjkgl7dsqzsd7pdq8a5bihhi1wplfkv1id7sj6dp3swjpsfxp8g", - "prerelease": false - }, - "0.44.09": { - "twbtRelease": "6.41", - "sha256": "0nsq15z05pbhqjvw2xqs1a9b1n2ma0aalhc3vh3mi4cd4k7lxh44", - "prerelease": false - }, - "0.44.10": { - "twbtRelease": "6.49", - "sha256": "1qjkc7k33qhxj2g18njzasccjqsis5y8zrw5vl90h4rs3i8ld9xz", - "prerelease": false - }, - "0.44.11": { - "twbtRelease": "6.51", - "sha256": "1yclqmarjd97ch054h425a12r8a5ailmflsd7b39cg4qhdr1nii5", - "prerelease": true - }, - "0.44.12": { - "twbtRelease": "6.54", - "sha256": "10gfd6vv0vk4v1r5hjbz7vf1zqys06dsad695gysc7fbcik2dakh", - "prerelease": false - } -} |