Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 29 lines 687 B view raw
1{ lib, buildDunePackage, fetchurl 2, cstruct, mirage-random 3}: 4 5buildDunePackage rec { 6 pname = "mirage-random-test"; 7 version = "0.1.0"; 8 9 minimalOCamlVersion = "4.06"; 10 11 duneVersion = "3"; 12 13 src = fetchurl { 14 url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz"; 15 sha256 = "1jmjyb9a4v7l0xxgdwpr9zshzr8xk3hybra6y2dp51anbwk8kv46"; 16 }; 17 18 propagatedBuildInputs = [ 19 cstruct 20 mirage-random 21 ]; 22 23 meta = with lib; { 24 description = "Stub random device implementation for testing"; 25 homepage = "https://github.com/mirage/mirage-random"; 26 license = licenses.isc; 27 maintainers = [ maintainers.sternenseemann ]; 28 }; 29}