Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchurl, cstruct }:
2
3buildDunePackage rec {
4 pname = "mirage-random";
5 version = "3.0.0";
6
7 duneVersion = "3";
8
9 src = fetchurl {
10 url = "https://github.com/mirage/mirage-random/releases/download/v${version}/mirage-random-v${version}.tbz";
11 sha256 = "sha256-Sf4/KB1kMMwXI+yr5H/JuOmynYPNXwlk9dAA+gFAZs8=";
12 };
13
14 propagatedBuildInputs = [ cstruct ];
15
16 meta = {
17 description = "Random signatures for MirageOS";
18 homepage = "https://github.com/mirage/mirage-random";
19 license = lib.licenses.isc;
20 maintainers = [ lib.maintainers.vbgl ];
21 };
22}