2021-01-09 10:05:03 +00:00
|
|
|
{ lib, mkCoqDerivation, coq, ssreflect, version ? null }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
mkCoqDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
pname = "coq-haskell";
|
|
|
|
owner = "jwiegley";
|
|
|
|
inherit version;
|
2023-02-02 18:25:31 +00:00
|
|
|
defaultVersion = if lib.versions.range "8.5" "8.8" coq.coq-version then "20171215" else null;
|
2021-01-09 10:05:03 +00:00
|
|
|
release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968";
|
|
|
|
release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
mlPlugin = true;
|
|
|
|
extraInstallFlags = [ "-f Makefile.coq" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [ coq ssreflect ];
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2021-01-09 10:05:03 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A library for formalizing Haskell types and functions in Coq";
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with lib.maintainers; [ jwiegley ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|