2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
|
2015-06-10 21:41:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-20 03:32:53 +00:00
|
|
|
version = "0.9.7";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "uuidm";
|
2015-06-10 21:41:15 +00:00
|
|
|
src = fetchurl {
|
2019-04-22 08:14:28 +00:00
|
|
|
url = "https://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
|
2019-08-20 03:32:53 +00:00
|
|
|
sha256 = "1ivxb3hxn9bk62rmixx6px4fvn52s4yr1bpla7rgkcn8981v45r8";
|
2015-06-10 21:41:15 +00:00
|
|
|
};
|
|
|
|
|
2022-02-22 09:59:04 +00:00
|
|
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
2019-10-31 10:16:15 +00:00
|
|
|
configurePlatforms = [];
|
|
|
|
buildInputs = [ topkg cmdliner ];
|
2015-06-10 21:41:15 +00:00
|
|
|
|
2017-10-14 12:53:46 +00:00
|
|
|
inherit (topkg) buildPhase installPhase;
|
2015-06-10 21:41:15 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://erratique.ch/software/uuidm";
|
2015-06-10 21:41:15 +00:00
|
|
|
license = licenses.bsd3;
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-06-10 21:41:15 +00:00
|
|
|
maintainers = [ maintainers.maurer ];
|
|
|
|
};
|
|
|
|
}
|