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