summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-random-test/default.nix
blob: 24339b49568cca518ecd1ae77274220a3a75d002 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, buildDunePackage, fetchurl
, cstruct, mirage-random
}:

buildDunePackage rec {
  pname = "mirage-random-test";
  version = "0.1.0";

  minimalOCamlVersion = "4.06";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
    sha256 = "1jmjyb9a4v7l0xxgdwpr9zshzr8xk3hybra6y2dp51anbwk8kv46";
  };

  propagatedBuildInputs = [
    cstruct
    mirage-random
  ];

  meta = with lib; {
    description = "Stub random device implementation for testing";
    homepage = "https://github.com/mirage/mirage-random";
    license = licenses.isc;
    maintainers = [ maintainers.sternenseemann ];
  };
}