blob: 3e3e05cd516edaefc1f12a060e1bd0fd37623f4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
mkCoqDerivation,
coq,
stdlib,
version ? null,
}:
mkCoqDerivation {
pname = "rewriter";
owner = "mit-plv";
inherit version;
defaultVersion =
let
inherit (lib.versions) range;
in
lib.switch coq.coq-version [
{
case = range "8.17" "9.2";
out = "0.0.15";
}
] null;
release = {
"0.0.15".sha256 = "sha256-zxNIMppFXUKShOXLbdZphy0Je5ii6cjcWUUcQMTcaHk=";
};
releaseRev = v: "v${v}";
propagatedBuildInputs = [ stdlib ];
mlPlugin = true;
meta = {
description = "Reflective PHOAS rewriting/pattern-matching-compilation framework for simply-typed equalities and let-lifting, experimental and tailored for use in Fiat Cryptography";
license = lib.licenses.mit;
};
}
|