{ lib, buildDunePackage, fetchFromGitHub }: buildDunePackage rec { pname = "cry"; version = "1.0.3"; src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-cry"; rev = "v${version}"; hash = "sha256-ea6f2xTVmYekPmzAKasA9mNG4Voxw2MCkfZ9LB9gwbo="; }; postPatch = '' substituteInPlace src/dune --replace-warn bytes "" ''; minimalOCamlVersion = "4.12"; meta = with lib; { homepage = "https://github.com/savonet/ocaml-cry"; description = "OCaml client for the various icecast & shoutcast source protocols"; license = licenses.gpl2Plus; maintainers = with maintainers; [ dandellion ]; }; }