1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/applications/science/logic/coq/default.nix
Andres Löh 12ca68d114 Added a preliminary expression for Coq (no IDE support yet).
svn path=/nixpkgs/trunk/; revision=11983
2008-06-04 15:10:05 +00:00

24 lines
601 B
Nix

{stdenv, fetchurl, ocaml, ncurses}:
stdenv.mkDerivation (rec {
name = "coq-8.1pl3";
src = fetchurl {
url = "http://coq.inria.fr/V8.1pl3/files/coq-8.1pl3.tar.gz";
sha256 = "7f8f45594adff2625312c5ecb144cb00d39c99201dac309c9286b34d01a36bb6";
};
buildInputs = [ocaml ncurses];
prefixKey = "-prefix ";
patchPhase = ''
UNAME=$(type -tp uname)
MV=$(type -tp mv)
RM=$(type -tp cp)
substituteInPlace ./configure --replace "/bin/uname" "$UNAME"
substituteInPlace Makefile --replace "/bin/mv" "$MV" \
--replace "/bin/rm" "$RM"
'';
})