File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ mkCoqDerivation ,
4+ coq ,
5+ stdlib ,
6+ metarocq ,
7+ version ? null ,
8+ } :
9+
10+
11+ mkCoqDerivation {
12+
13+ pname = "ceres" ;
14+ repo = "coq-ceres" ;
15+ owner = "4ever2" ;
16+
17+ inherit version ;
18+ defaultVersion =
19+ with lib . versions ;
20+ lib . switch coq . version [
21+ {
22+ case = range "8.14" "9.0" ;
23+ out = "0.4.1" ;
24+ }
25+ {
26+ case = range "8.8" "8.16" ;
27+ out = "0.4.0" ;
28+ }
29+ ] null ;
30+ release . "0.4.1" . sha256 = "sha256-9vyk8/8IVsqNyhw3WPzl8w3L9Wu7gfaMVa3n2nWjFiA=" ;
31+ release . "0.4.0" . sha256 = "sha256:0zwp3pn6fdj0qdig734zdczrls886al06mxqhhabms0jvvqijmbi" ;
32+
33+ useDuneifVersion = lib . versions . isGe "0.4.1" ;
34+
35+ propagatedBuildInputs = [ stdlib , metarocq ] ;
36+
37+ meta = with lib ; {
38+ description = "Library for serialization to S-expressions" ;
39+ license = licenses . mit ;
40+ maintainers = with maintainers ; [ Zimmi48 ] ;
41+ } ;
42+ }
You can’t perform that action at this time.
0 commit comments