Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, fetchurl, cstruct }: 2 3buildDunePackage rec { 4 pname = "randomconv"; 5 version = "0.1.3"; 6 7 duneVersion = "3"; 8 9 src = fetchurl { 10 url = "https://github.com/hannesm/randomconv/releases/download/v${version}/randomconv-v${version}.tbz"; 11 sha256 = "1iv3r0s5kqxs893b0d55f0r62k777haiahfkkvvfbqwgqsm6la4v"; 12 }; 13 14 propagatedBuildInputs = [ cstruct ]; 15 16 meta = { 17 homepage = "https://github.com/hannesm/randomconv"; 18 description = "Convert from random bytes to random native numbers"; 19 license = lib.licenses.isc; 20 maintainers = [ lib.maintainers.vbgl ]; 21 }; 22 23}