obelisk: 0.4.0 → 0.5.2

This commit is contained in:
Vincent Laporte 2020-11-26 07:01:28 +01:00 committed by Vincent Laporte
parent ed23e84c8a
commit 222966a7d1

View file

@ -1,24 +1,20 @@
{ stdenv, fetchFromGitHub, ocamlPackages }:
{ lib, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
ocamlPackages.buildDunePackage rec {
pname = "obelisk";
version = "0.4.0";
src = fetchFromGitHub {
owner = "lelio-brun";
repo = "obelisk";
rev = "v${version}";
sha256 = "0rw85knbwqj2rys1hh5qy8sfdqb4mb1wsriy38n7zcpbwim47vb8";
version = "0.5.2";
useDune2 = true;
src = fetchurl {
url = "https://github.com/Lelio-Brun/Obelisk/releases/download/v${version}/obelisk-v${version}.tbz";
sha256 = "0s86gkypyrkrp83xnay258ijri3yjwj3marsjnjf8mz58z0zd9g6";
};
buildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild menhir ];
installFlags = [ "BINDIR=$(out)/bin" ];
buildInputs = with ocamlPackages; [ menhir re ];
meta = {
description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocamlPackages.ocaml.meta) platforms;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/Lelio-Brun/Obelisk";
};
}