coqPackages.coq-haskell: New expression
This commit is contained in:
parent
b53407461a
commit
0042a343b4
51
pkgs/development/coq-modules/coq-haskell/default.nix
Normal file
51
pkgs/development/coq-modules/coq-haskell/default.nix
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
{ stdenv, fetchgit, coq }:
|
||||||
|
|
||||||
|
let param =
|
||||||
|
{
|
||||||
|
"8.5" = {
|
||||||
|
version = "20171214";
|
||||||
|
rev = "d319043533585f60f0c89919a8370f85a9cf572b";
|
||||||
|
sha256 = "154a8sx5igw86wby0ybk3rv5y21cji8489amgxhgqxfys9zmx2di";
|
||||||
|
};
|
||||||
|
|
||||||
|
"8.6" = {
|
||||||
|
version = "20171214";
|
||||||
|
rev = "d319043533585f60f0c89919a8370f85a9cf572b";
|
||||||
|
sha256 = "154a8sx5igw86wby0ybk3rv5y21cji8489amgxhgqxfys9zmx2di";
|
||||||
|
};
|
||||||
|
|
||||||
|
"8.7" = {
|
||||||
|
version = "20171214";
|
||||||
|
rev = "d319043533585f60f0c89919a8370f85a9cf572b";
|
||||||
|
sha256 = "154a8sx5igw86wby0ybk3rv5y21cji8489amgxhgqxfys9zmx2di";
|
||||||
|
};
|
||||||
|
|
||||||
|
}."${coq.coq-version}"
|
||||||
|
; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "coq${coq.coq-version}-coq-haskell-${param.version}";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = git://github.com/jwiegley/coq-haskell.git;
|
||||||
|
inherit (param) rev sha256;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ coq.ocaml coq.camlp5 coq.findlib ];
|
||||||
|
propagatedBuildInputs = [ coq ];
|
||||||
|
|
||||||
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
make -f Makefile.coq COQLIB=$out/lib/coq/${coq.coq-version}/ install
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = git://github.com/jwiegley/coq-haskell.git;
|
||||||
|
description = "A library for formalizing Haskell types and functions in Coq";
|
||||||
|
maintainers = with maintainers; [ jwiegley ];
|
||||||
|
platforms = coq.meta.platforms;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -18867,6 +18867,7 @@ with pkgs;
|
|||||||
math-classes = callPackage ../development/coq-modules/math-classes { };
|
math-classes = callPackage ../development/coq-modules/math-classes { };
|
||||||
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};
|
fiat_HEAD = callPackage ../development/coq-modules/fiat/HEAD.nix {};
|
||||||
equations = callPackage ../development/coq-modules/equations { };
|
equations = callPackage ../development/coq-modules/equations { };
|
||||||
|
coq-haskell = callPackage ../development/coq-modules/coq-haskell { };
|
||||||
};
|
};
|
||||||
|
|
||||||
coqPackages_8_5 = mkCoqPackages coqPackages_8_5 coq_8_5;
|
coqPackages_8_5 = mkCoqPackages coqPackages_8_5 coq_8_5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user