aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/randomconv/default.nix
blob: 7abb153b9be3cd1b494c69f056ab0e6bdd648add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 ];
  };

}