2020-08-28 23:05:46 +02:00
|
|
|
{ lib, mkCoqDerivation, coq, ssreflect, version ? null }:
|
2017-12-15 05:41:21 +01:00
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
with lib; mkCoqDerivation {
|
2017-12-15 05:41:21 +01:00
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
pname = "coq-haskell";
|
|
|
|
owner = "jwiegley";
|
|
|
|
inherit version;
|
|
|
|
defaultVersion = if versions.range "8.5" "8.8" coq.coq-version then "20171215" else null;
|
|
|
|
release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968";
|
|
|
|
release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv";
|
2017-12-15 05:41:21 +01:00
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
mlPlugin = true;
|
|
|
|
extraInstallFlags = [ "-f Makefile.coq" ];
|
2017-12-15 17:53:31 +01:00
|
|
|
propagatedBuildInputs = [ coq ssreflect ];
|
2017-12-15 05:41:21 +01:00
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2020-08-28 23:05:46 +02:00
|
|
|
meta = {
|
2017-12-15 05:41:21 +01:00
|
|
|
description = "A library for formalizing Haskell types and functions in Coq";
|
|
|
|
maintainers = with maintainers; [ jwiegley ];
|
2018-03-21 15:00:47 +01:00
|
|
|
};
|
2017-12-15 05:41:21 +01:00
|
|
|
}
|