git.iko.soy/typeable/nixpkgs
on master help sign in
uuidm: init at 0.9.5
commit8c875e76f091b60e641d31d03c2621e4ac47734f authorMatthew Maurer <maurer@matthewmaurer.org> dateWed 10 Jun 2015, 23:41 (11 years ago) parent289e2a1
2 files changed+30
pkgs/development/ocaml-modules/uuidm/default.nix+28 pkgs/top-level/all-packages.nix+2
pkgs/development/ocaml-modules/uuidm/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{stdenv, fetchurl, ocaml, findlib}:
2+
3+stdenv.mkDerivation rec {
4+ version = "0.9.5";
5+ name = "uuidm-${version}";
6+ src = fetchurl {
7+ url = "http://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
8+ sha256 = "03bgxs119bphv9ggg97nsl5m61s43ixgby05hhggv16iadx9zndm";
9+ };
10+
11+ unpackCmd = "tar -xf $curSrc";
12+
13+ buildInputs = [ocaml findlib];
14+
15+ configurePhase = "ocaml setup.ml -configure --prefix $prefix";
16+ buildPhase = "ocaml setup.ml -build";
17+ installPhase = "ocaml setup.ml -install";
18+
19+ createFindlibDestdir = true;
20+
21+ meta = with stdenv.lib; {
22+ 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.";
23+ homepage = http://erratique.ch/software/uuidm;
24+ license = licenses.bsd3;
25+ platforms = ocaml.meta.platforms;
26+ maintainers = [ maintainers.maurer ];
27+ };
28+}
pkgs/top-level/all-packages.nix+2
@@ -4556,6 +4556,8 @@ let
45564556
45574557 utop = callPackage ../development/tools/ocaml/utop { };
45584558
4559+ uuidm = callPackage ../development/ocaml-modules/uuidm { };
4560+
45594561 sawja = callPackage ../development/ocaml-modules/sawja { };
45604562
45614563 uucd = callPackage ../development/ocaml-modules/uucd { };