Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 676 B view raw
1{ lib, buildDunePackage, fetchFromGitHub 2, dune-configurator 3, posix-socket 4, srt 5}: 6 7buildDunePackage rec { 8 pname = "srt"; 9 version = "0.3.0"; 10 11 minimalOCamlVersion = "4.08"; 12 duneVersion = "3"; 13 14 src = fetchFromGitHub { 15 owner = "savonet"; 16 repo = "ocaml-srt"; 17 rev = "v${version}"; 18 sha256 = "sha256-iD18bCbouBuMpuSzruDZJoYz2YyN080RK8BavUF3beY="; 19 }; 20 21 buildInputs = [ dune-configurator ]; 22 propagatedBuildInputs = [ posix-socket srt ]; 23 24 meta = with lib; { 25 description = "OCaml bindings for the libsrt library"; 26 license = lib.licenses.gpl2Only; 27 inherit (src.meta) homepage; 28 maintainers = with maintainers; [ vbgl dandellion ]; 29 }; 30}