nixpkgs/pkgs/development/ocaml-modules/uuidm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
880 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
2015-06-10 21:41:15 +00:00
stdenv.mkDerivation rec {
version = "0.9.7";
pname = "uuidm";
2015-06-10 21:41:15 +00:00
src = fetchurl {
url = "https://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
sha256 = "1ivxb3hxn9bk62rmixx6px4fvn52s4yr1bpla7rgkcn8981v45r8";
2015-06-10 21:41:15 +00:00
};
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
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
meta = with 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 = "https://erratique.ch/software/uuidm";
2015-06-10 21:41:15 +00:00
license = licenses.bsd3;
maintainers = [ maintainers.maurer ];
mainProgram = "uuidtrip";
inherit (ocaml.meta) platforms;
2015-06-10 21:41:15 +00:00
};
}