1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/development/coq-modules/flocq/default.nix

35 lines
921 B
Nix
Raw Normal View History

2014-10-21 06:23:36 +01:00
{stdenv, bash, which, autoconf, automake, fetchurl, coq}:
stdenv.mkDerivation rec {
name = "coq-flocq-${coq.coq-version}-${version}";
2016-01-04 21:46:08 +00:00
version = "2.5.1";
2014-10-21 06:23:36 +01:00
src = fetchurl {
2016-01-04 21:46:08 +00:00
url = https://gforge.inria.fr/frs/download.php/file/35430/flocq-2.5.1.tar.gz;
sha256 = "1a0gznvg32ckxgs3jzznc1368p8x2ny4vfwrnavb3h0ljcl1mlzy";
2014-10-21 06:23:36 +01:00
};
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";
2014-12-07 12:14:08 +00:00
license = licenses.lgpl3;
2014-10-21 06:23:36 +01:00
maintainers = with maintainers; [ jwiegley ];
platforms = coq.meta.platforms;
};
}