mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
commit
aacf756ed0
3 changed files with 10 additions and 14 deletions
|
@ -1,18 +1,18 @@
|
||||||
# - coqide compilation can be disabled by setting lablgtk to null;
|
{ stdenv, fetchFromGitHub, pkgconfig, ocaml }:
|
||||||
|
|
||||||
{stdenv, fetchurl, pkgconfig, ocaml, camlp5}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ott-${version}";
|
name = "ott-${version}";
|
||||||
version = "0.25";
|
version = "0.27";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.cl.cam.ac.uk/~pes20/ott/ott_distro_${version}.tar.gz";
|
owner = "ott-lang";
|
||||||
sha256 = "0i8ad1yrz9nrrgpi8db4z0aii5s0sy35mmzdfw5nq183mvbx8qqd";
|
repo = "ott";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "12hzpyinswqaxwp6y793h7ywrv6289cw4911ah2yzq04ji095pfb";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ ocaml camlp5 ];
|
buildInputs = [ ocaml ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
ln -s $out/bin/ott.opt $out/bin/ott
|
ln -s $out/bin/ott.opt $out/bin/ott
|
||||||
|
|
||||||
mkdir -p $out/share/emacs/site-lisp
|
mkdir -p $out/share/emacs/site-lisp
|
||||||
cp emacs/ottmode.el $out/share/emacs/site-lisp
|
cp emacs/ott-mode.el $out/share/emacs/site-lisp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -18943,7 +18943,7 @@ with pkgs;
|
||||||
|
|
||||||
opensmt = callPackage ../applications/science/logic/opensmt { };
|
opensmt = callPackage ../applications/science/logic/opensmt { };
|
||||||
|
|
||||||
inherit (ocamlPackages) ott;
|
ott = callPackage ../applications/science/logic/ott { };
|
||||||
|
|
||||||
otter = callPackage ../applications/science/logic/otter {};
|
otter = callPackage ../applications/science/logic/otter {};
|
||||||
|
|
||||||
|
|
|
@ -970,10 +970,6 @@ let
|
||||||
|
|
||||||
matita_130312 = callPackage ../applications/science/logic/matita/130312.nix { };
|
matita_130312 = callPackage ../applications/science/logic/matita/130312.nix { };
|
||||||
|
|
||||||
ott = callPackage ../applications/science/logic/ott {
|
|
||||||
camlp5 = camlp5_transitional;
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
in (ocamlPackages.janeStreet // ocamlPackages);
|
in (ocamlPackages.janeStreet // ocamlPackages);
|
||||||
in lib.fix' (lib.extends overrides packageSet);
|
in lib.fix' (lib.extends overrides packageSet);
|
||||||
|
|
Loading…
Reference in a new issue