2020-08-28 22:05:46 +01:00
|
|
|
{ lib, mkCoqDerivation, coq, mathcomp, version ? null }:
|
2017-07-11 02:15:14 +01:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
with lib; mkCoqDerivation {
|
|
|
|
pname = "autosubst";
|
|
|
|
owner = "uds-psl";
|
|
|
|
inherit version;
|
|
|
|
defaultVersion = with versions;
|
|
|
|
if range "8.5" "8.7" coq.coq-version then "5b40a32e" else null;
|
2017-07-11 02:15:14 +01:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
release."5b40a32e".rev = "1c3bb3bbf5477e3b33533a0fc090399f45fe3034";
|
|
|
|
release."5b40a32e".sha256 = "1wqfzc9az85fvx71xxfii502jgc3mp0r3xwfb8vnb03vkk625ln0";
|
2017-07-11 02:15:14 +01:00
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
propagatedBuildInputs = [ mathcomp.ssreflect ];
|
2017-07-11 02:15:14 +01:00
|
|
|
|
|
|
|
patches = [./0001-changes-to-work-with-Coq-8.6.patch];
|
|
|
|
|
2020-08-28 22:05:46 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.ps.uni-saarland.de/autosubst/";
|
2017-07-11 02:15:14 +01:00
|
|
|
description = "Automation for de Bruijn syntax and substitution in Coq";
|
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
|
|
|
};
|
|
|
|
}
|