2017-12-13 23:36:29 -08:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
|
2015-06-10 14:41:15 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-19 20:32:53 -07:00
|
|
|
version = "0.9.7";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "uuidm";
|
2015-06-10 14:41:15 -07:00
|
|
|
src = fetchurl {
|
2019-04-22 01:14:28 -07:00
|
|
|
url = "https://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
|
2019-08-19 20:32:53 -07:00
|
|
|
sha256 = "1ivxb3hxn9bk62rmixx6px4fvn52s4yr1bpla7rgkcn8981v45r8";
|
2015-06-10 14:41:15 -07:00
|
|
|
};
|
|
|
|
|
2019-10-31 03:16:15 -07:00
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
configurePlatforms = [];
|
|
|
|
buildInputs = [ topkg cmdliner ];
|
2015-06-10 14:41:15 -07:00
|
|
|
|
2017-10-14 05:53:46 -07:00
|
|
|
inherit (topkg) buildPhase installPhase;
|
2015-06-10 14:41:15 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-27 09:24:00 -08:00
|
|
|
description = "An OCaml module implementing 128 bits universally unique identifiers version 3, 5 (name based with MD5, SHA-1 hashing) and 4 (random based) according to RFC 4122";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://erratique.ch/software/uuidm";
|
2015-06-10 14:41:15 -07:00
|
|
|
license = licenses.bsd3;
|
2015-12-24 09:49:07 -08:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-06-10 14:41:15 -07:00
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|