depot/pkgs/development/coq-modules/coq-haskell/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

21 lines
697 B
Nix

{ lib, mkCoqDerivation, coq, ssreflect, version ? null }:
mkCoqDerivation {
pname = "coq-haskell";
owner = "jwiegley";
inherit version;
defaultVersion = if lib.versions.range "8.5" "8.8" coq.coq-version then "20171215" else null;
release."20171215".rev = "e2cf8b270c2efa3b56fab1ef6acc376c2c3de968";
release."20171215".sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv";
mlPlugin = true;
extraInstallFlags = [ "-f Makefile.coq" ];
propagatedBuildInputs = [ coq ssreflect ];
enableParallelBuilding = false;
meta = {
description = "Library for formalizing Haskell types and functions in Coq";
maintainers = with lib.maintainers; [ jwiegley ];
};
}