3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/uuseg/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
855 B
Nix
Raw Normal View History

2021-10-03 21:03:56 +01:00
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uucp, uutf, cmdliner }:
let
pname = "uuseg";
webpage = "https://erratique.ch/software/${pname}";
in
2016-12-04 10:55:37 +00:00
stdenv.mkDerivation rec {
2016-12-04 10:55:37 +00:00
name = "ocaml${ocaml.version}-${pname}-${version}";
2021-10-03 21:03:56 +01:00
version = "14.0.0";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
2021-10-03 21:03:56 +01:00
sha256 = "sha256:1g9zyzjkhqxgbb9mh3cgaawscwdazv6y8kdqvmy6yhnimmfqv25p";
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
buildInputs = [ topkg cmdliner uutf ];
2021-10-03 21:03:56 +01:00
propagatedBuildInputs = [ uucp ];
strictDeps = true;
2016-12-04 10:55:37 +00:00
inherit (topkg) buildPhase installPhase;
meta = with lib; {
description = "An OCaml library for segmenting Unicode text";
2019-09-09 00:38:31 +01:00
homepage = webpage;
2021-10-03 21:03:56 +01:00
inherit (ocaml.meta) platforms;
license = licenses.bsd3;
maintainers = [ maintainers.vbgl ];
};
}