1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 10:24:15 +00:00
nixpkgs/pkgs/development/coq-modules/flocq/default.nix
Joachim Fasting bf7ad2d84f meta.description fixups
Mostly scripted substitutions with a couple of subjective enhancements.
2015-04-30 18:17:42 +02:00

35 lines
921 B
Nix

{stdenv, bash, which, autoconf, automake, fetchurl, coq}:
stdenv.mkDerivation rec {
name = "coq-flocq-${coq.coq-version}-${version}";
version = "2.4.0";
src = fetchurl {
url = https://gforge.inria.fr/frs/download.php/file/33979/flocq-2.4.0.tar.gz;
sha256 = "020x4nkkrvndkvp5zwb9vads8a2jh603khcwrm40yhqldgfd8zlv";
};
buildInputs = [ coq.ocaml coq.camlp5 bash which autoconf automake ];
propagatedBuildInputs = [ coq ];
buildPhase = ''
${bash}/bin/bash autogen.sh
${bash}/bin/bash configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Flocq
./remake
'';
installPhase = ''
./remake install
'';
meta = with stdenv.lib; {
homepage = http://flocq.gforge.inria.fr/;
description = "A floating-point formalization for the Coq system";
license = licenses.lgpl3;
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}