From ddbbf5d80bcee06ff62b0fb53d926e9c8b1174d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Wed, 15 Sep 2021 12:55:00 +0200 Subject: [PATCH] coqPackages.parsec: init at 0.1.0 --- .../coq-modules/parsec/default.nix | 22 +++++++++++++++++++ pkgs/top-level/coq-packages.nix | 1 + 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/coq-modules/parsec/default.nix diff --git a/pkgs/development/coq-modules/parsec/default.nix b/pkgs/development/coq-modules/parsec/default.nix new file mode 100644 index 000000000000..ad48809a9fed --- /dev/null +++ b/pkgs/development/coq-modules/parsec/default.nix @@ -0,0 +1,22 @@ +{ lib, mkCoqDerivation, coq, ceres, coq-ext-lib, version ? null }: + +with lib; +mkCoqDerivation { + + pname = "parsec"; + repo = "coq-parsec"; + owner = "liyishuai"; + + propagatedBuildInputs = [ ceres coq-ext-lib ]; + releaseRev = (v: "v${v}"); + + inherit version; + defaultVersion = if versions.isGe "8.12" coq.version then "0.1.0" else null; + release."0.1.0".sha256 = "sha256:01avfcqirz2b9wjzi9iywbhz9szybpnnj3672dgkfsimyg9jgnsr"; + + meta = { + description = "Library for serialization to S-expressions"; + license = licenses.mit; + maintainers = with maintainers; [ Zimmi48 ]; + }; +} diff --git a/pkgs/top-level/coq-packages.nix b/pkgs/top-level/coq-packages.nix index c0e5265e254d..c785d6c16cf5 100644 --- a/pkgs/top-level/coq-packages.nix +++ b/pkgs/top-level/coq-packages.nix @@ -76,6 +76,7 @@ let odd-order = callPackage ../development/coq-modules/odd-order { }; paco = callPackage ../development/coq-modules/paco {}; paramcoq = callPackage ../development/coq-modules/paramcoq {}; + parsec = callPackage ../development/coq-modules/parsec {}; pocklington = callPackage ../development/coq-modules/pocklington {}; QuickChick = callPackage ../development/coq-modules/QuickChick {}; reglang = callPackage ../development/coq-modules/reglang {};