2021-09-18 10:52:07 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, ceres, coq-ext-lib, version ? null }:
|
|
|
|
|
|
|
|
mkCoqDerivation {
|
|
|
|
|
|
|
|
pname = "parsec";
|
|
|
|
repo = "coq-parsec";
|
|
|
|
owner = "liyishuai";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ceres coq-ext-lib ];
|
|
|
|
releaseRev = (v: "v${v}");
|
|
|
|
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = with lib.versions; lib.switch coq.version [
|
2024-01-02 11:29:13 +00:00
|
|
|
{ case = range "8.14" "8.19"; out = "0.1.2"; }
|
2022-06-16 17:23:12 +00:00
|
|
|
{ case = range "8.12" "8.16"; out = "0.1.1"; }
|
2022-04-27 09:35:20 +00:00
|
|
|
{ case = range "8.12" "8.13"; out = "0.1.0"; }
|
|
|
|
] null;
|
2023-08-04 22:07:22 +00:00
|
|
|
release."0.1.2".sha256 = "sha256-QN0h1CsX86DQBDsluXLtNUvMh3r60/0iDSbYam67AhA=";
|
2022-04-27 09:35:20 +00:00
|
|
|
release."0.1.1".sha256 = "sha256:1c0l18s68pzd4c8i3jimh2yz0pqm4g38pca4bm7fr18r8xmqf189";
|
2021-09-18 10:52:07 +00:00
|
|
|
release."0.1.0".sha256 = "sha256:01avfcqirz2b9wjzi9iywbhz9szybpnnj3672dgkfsimyg9jgnsr";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2021-09-18 10:52:07 +00:00
|
|
|
description = "Library for serialization to S-expressions";
|
2022-04-27 09:35:20 +00:00
|
|
|
license = licenses.bsd3;
|
2021-09-18 10:52:07 +00:00
|
|
|
maintainers = with maintainers; [ Zimmi48 ];
|
|
|
|
};
|
|
|
|
}
|