diff options
author | Matthew Maurer <maurer@matthewmaurer.org> | 2015-06-10 23:41:15 +0200 |
---|---|---|
committer | Matthew Maurer <maurer@matthewmaurer.org> | 2015-06-27 16:54:20 +0000 |
commit | 8c875e76f091b60e641d31d03c2621e4ac47734f (patch) | |
tree | f9db3d369a95002b37080038ab0486ec15a66bf9 /pkgs/development/ocaml-modules/uuidm | |
parent | 289e2a10dbb26c368aa9b82229b17ea545b6d93d (diff) | |
download | nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar.gz nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar.bz2 nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar.lz nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar.xz nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.tar.zst nixpkgs-8c875e76f091b60e641d31d03c2621e4ac47734f.zip |
uuidm: init at 0.9.5
Diffstat (limited to 'pkgs/development/ocaml-modules/uuidm')
-rw-r--r-- | pkgs/development/ocaml-modules/uuidm/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix new file mode 100644 index 00000000000..0473f64bcdf --- /dev/null +++ b/pkgs/development/ocaml-modules/uuidm/default.nix @@ -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 ]; + }; +} |