nixpkgs/pkgs/development/coq-modules/Cheerios/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
544 B
Nix
Raw Normal View History

2020-08-28 21:05:46 +00:00
{ lib, mkCoqDerivation, coq, StructTact, version ? null }:
2020-08-28 21:05:46 +00:00
with lib; mkCoqDerivation {
pname = "cheerios";
owner = "uwplse";
inherit version;
2023-01-06 14:51:50 +00:00
defaultVersion = if versions.range "8.6" "8.16" coq.version then "20200201" else null;
2020-08-28 21:05:46 +00:00
release."20200201".rev = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d";
release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1";
2018-12-14 10:52:20 +00:00
propagatedBuildInputs = [ StructTact ];
preConfigure = ''
if [ -f ./configure ]; then
patchShebangs ./configure
fi
'';
}