Commit 418a37d9 authored by Ben Siraphob's avatar Ben Siraphob Committed by Vincent Laporte
Browse files

coq2html: 20170720 -> 1.2

parent 1d75f482
Loading
Loading
Loading
Loading
+11 −14
Original line number Diff line number Diff line
{ lib, stdenv, fetchgit, ocaml }:
{ lib, stdenv, fetchFromGitHub, ocaml }:

let
  version = "20170720";
in

stdenv.mkDerivation {
stdenv.mkDerivation  rec {
  pname = "coq2html";
  inherit version;
  version = "1.2";

  src = fetchgit {
    url = "https://github.com/xavierleroy/coq2html";
    rev = "e2b94093c6b9a877717f181765e30577de22439e";
    sha256 = "1x466j0pyjggyz0870pdllv9f5vpnfrgkd0w7ajvm9rkwyp3f610";
  src = fetchFromGitHub {
    owner = "xavierleroy";
    repo = "coq2html";
    rev = "v${version}";
    sha256 = "sha256-ty/6A3wivjDCrmlZAcZyaIwQQ+vPBJm9MhtW6nZcV3s=";
  };

  buildInputs = [ ocaml ];
  nativeBuildInputs = [ ocaml ];

  installPhase = ''
    mkdir -p $out/bin
@@ -32,8 +29,8 @@ stdenv.mkDerivation {
      "Proof" keyword.
    '';
    homepage = "https://github.com/xavierleroy/coq2html";
    license = licenses.gpl2;
    maintainers = with maintainers; [ jwiegley ];
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ jwiegley siraben ];
    platforms = platforms.unix;
  };
}