2017-12-14 07:36:29 +00:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
|
2015-06-10 22:41:15 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-10-14 13:53:46 +01:00
|
|
|
version = "0.9.6";
|
2018-11-11 17:04:27 +00:00
|
|
|
name = "uuidm-${version}";
|
2015-06-10 22:41:15 +01:00
|
|
|
src = fetchurl {
|
2019-04-22 09:14:28 +01:00
|
|
|
url = "https://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
|
2017-10-14 13:53:46 +01:00
|
|
|
sha256 = "0hz4fdx0x16k0pw9995vkz5d1hmzz6b16wck9li399rcbfnv5jlc";
|
2015-06-10 22:41:15 +01:00
|
|
|
};
|
|
|
|
|
2017-12-14 07:36:29 +00:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
|
2015-06-10 22:41:15 +01:00
|
|
|
|
2017-10-14 13:53:46 +01:00
|
|
|
inherit (topkg) buildPhase installPhase;
|
2015-06-10 22:41:15 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-02-27 17:24:00 +00: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";
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://erratique.ch/software/uuidm;
|
2015-06-10 22:41:15 +01:00
|
|
|
license = licenses.bsd3;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-06-10 22:41:15 +01:00
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|