summary refs log tree commit diff
path: root/pkgs/development/coq-modules/Cheerios/default.nix
blob: 5a7ec31f50c1dbe2b6ca6f5180a022a2584f9cbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, mkCoqDerivation, coq, StructTact, version ? null }:

mkCoqDerivation {
  pname   = "cheerios";
  owner   = "uwplse";
  inherit version;
  defaultVersion = if lib.versions.range "8.6" "8.16" coq.version then "20200201" else null;
  release."20200201".rev    = "9c7f66e57b91f706d70afa8ed99d64ed98ab367d";
  release."20200201".sha256 = "1h55s6lk47bk0lv5ralh81z55h799jbl9mhizmqwqzy57y8wqgs1";

  propagatedBuildInputs = [ StructTact ];
  preConfigure = ''
    if [ -f ./configure ]; then
      patchShebangs ./configure
    fi
  '';
}