1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/coq-modules/bedrock/default.nix

34 lines
870 B
Nix
Raw Normal View History

2014-10-11 22:21:34 +01:00
{stdenv, fetchurl, coq}:
stdenv.mkDerivation rec {
name = "coq-bedrock-${coq.coq-version}-${version}";
version = "20140722";
src = fetchurl {
url = "http://plv.csail.mit.edu/bedrock/bedrock-${version}.tgz";
sha256 = "0aaa98q42rsy9hpsxji21bqznizfvf6fplsw6jq42h06j0049k80";
};
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq ];
enableParallelBuilding = true;
buildFlags = "cito";
installPhase = ''
COQLIB=$out/lib/coq/${coq.coq-version}/
mkdir -p $COQLIB/user-contrib/Bedrock
2014-10-11 22:21:34 +01:00
cp -pR src $COQLIB/user-contrib/Bedrock
'';
meta = with stdenv.lib; {
homepage = http://plv.csail.mit.edu/bedrock/;
description = "Bedrock is a library that turns Coq into a tool much like classical verification systems";
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}