uuidm: init at 0.9.5
This commit is contained in:
parent
289e2a10db
commit
8c875e76f0
|
@ -0,0 +1,28 @@
|
|||
{stdenv, fetchurl, ocaml, findlib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.5";
|
||||
name = "uuidm-${version}";
|
||||
src = fetchurl {
|
||||
url = "http://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
|
||||
sha256 = "03bgxs119bphv9ggg97nsl5m61s43ixgby05hhggv16iadx9zndm";
|
||||
};
|
||||
|
||||
unpackCmd = "tar -xf $curSrc";
|
||||
|
||||
buildInputs = [ocaml findlib];
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure --prefix $prefix";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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.";
|
||||
homepage = http://erratique.ch/software/uuidm;
|
||||
license = licenses.bsd3;
|
||||
platforms = ocaml.meta.platforms;
|
||||
maintainers = [ maintainers.maurer ];
|
||||
};
|
||||
}
|
|
@ -4556,6 +4556,8 @@ let
|
|||
|
||||
utop = callPackage ../development/tools/ocaml/utop { };
|
||||
|
||||
uuidm = callPackage ../development/ocaml-modules/uuidm { };
|
||||
|
||||
sawja = callPackage ../development/ocaml-modules/sawja { };
|
||||
|
||||
uucd = callPackage ../development/ocaml-modules/uucd { };
|
||||
|
|
Loading…
Reference in New Issue