ocamlPackages.jingoo: 1.2.7 -> 1.2.18 (#44106)
This commit is contained in:
parent
09d25d7d65
commit
5bc007bbea
@ -1,18 +1,24 @@
|
|||||||
{stdenv, buildOcaml, fetchurl, batteries, pcre}:
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ounit, pcre, uutf }:
|
||||||
|
|
||||||
buildOcaml rec {
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
name = "jingoo";
|
then throw "jingoo is not available for OCaml ${ocaml.version}"
|
||||||
version = "1.2.7";
|
else
|
||||||
|
|
||||||
src = fetchurl {
|
stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz";
|
name = "ocaml${ocaml.version}-jingoo-${version}";
|
||||||
sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009";
|
version = "1.2.18";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tategakibunko";
|
||||||
|
repo = "jingoo";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0gciiysrjy5r4yiisc41k4h0p530yawzqnr364xg8fdkk444fgkn";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ batteries pcre ];
|
buildInputs = [ ocaml findlib ];
|
||||||
|
propagatedBuildInputs = [ pcre uutf ];
|
||||||
|
|
||||||
preInstall = "mkdir -p $out/bin";
|
createFindlibDestdir = true;
|
||||||
installFlags = "BINDIR=$(out)/bin";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/tategakibunko/jingoo;
|
homepage = https://github.com/tategakibunko/jingoo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user