2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, StructTact, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
with lib; mkCoqDerivation {
|
|
|
|
pname = "cheerios";
|
|
|
|
owner = "uwplse";
|
|
|
|
inherit version;
|
2023-01-11 07:51:40 +00:00
|
|
|
defaultVersion = if versions.range "8.6" "8.16" coq.version then "20200201" else null;
|
2021-01-09 10:05:03 +00:00
|
|
|
release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d";
|
|
|
|
release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ StructTact ];
|
2022-12-28 21:21:41 +00:00
|
|
|
preConfigure = ''
|
|
|
|
if [ -f ./configure ]; then
|
|
|
|
patchShebangs ./configure
|
|
|
|
fi
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|