forked from mirrors/nixpkgs
bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
23 lines
808 B
Nix
23 lines
808 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.9.6";
|
|
name = "uuidm-${version}";
|
|
src = fetchurl {
|
|
url = "https://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
|
|
sha256 = "0hz4fdx0x16k0pw9995vkz5d1hmzz6b16wck9li399rcbfnv5jlc";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
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 = https://erratique.ch/software/uuidm;
|
|
license = licenses.bsd3;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [ maintainers.maurer ];
|
|
};
|
|
}
|