depot/third_party/nixpkgs/pkgs/development/ocaml-modules/randomconv/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

21 lines
581 B
Nix

{ lib, buildDunePackage, fetchurl, cstruct }:
buildDunePackage rec {
pname = "randomconv";
version = "0.1.3";
src = fetchurl {
url = "https://github.com/hannesm/randomconv/releases/download/v${version}/randomconv-v${version}.tbz";
sha256 = "1iv3r0s5kqxs893b0d55f0r62k777haiahfkkvvfbqwgqsm6la4v";
};
propagatedBuildInputs = [ cstruct ];
meta = {
homepage = "https://github.com/hannesm/randomconv";
description = "Convert from random bytes to random native numbers";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}