mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
ocamlPackages.js_of_ocaml-ocamlbuild: 4.0.0 → 5.0
This commit is contained in:
parent
8db9c4ed3f
commit
8786f80a1c
@ -1,26 +1,24 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, ocamlbuild
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "js_of_ocaml-ocamlbuild";
|
||||
version = "4.0.0";
|
||||
version = "5.0";
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocsigen";
|
||||
repo = pname;
|
||||
rev = "852302c8f35b946e2ec275c529a79e46d8749be6";
|
||||
sha256 = "sha256:03ayvakvbh4wi4dwcgd7r9y8ka8cv3d59hb81yk2dxyd94bln145";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/releases/download/${version}/js_of_ocaml-ocamlbuild-${version}.tbz";
|
||||
sha256 = "sha256-qlm8vxzie8sqPrd6iiwf8X6d2+DyQOOhmMoc67ChwHs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ocamlbuild ];
|
||||
|
||||
meta = {
|
||||
description = "An ocamlbuild plugin to compile to JavaScript";
|
||||
homepage = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild";
|
||||
license = lib.licenses.lgpl2Only;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user