Skip to content

Commit 039493a

Browse files
committed
Add overlay for ceres package (bytestring version)
1 parent 4c1aa40 commit 039493a

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
}

0 commit comments

Comments
 (0)