Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchFromGitHub, 5}: 6 7buildDunePackage rec { 8 pname = "cry"; 9 version = "1.0.3"; 10 11 src = fetchFromGitHub { 12 owner = "savonet"; 13 repo = "ocaml-cry"; 14 rev = "v${version}"; 15 hash = "sha256-ea6f2xTVmYekPmzAKasA9mNG4Voxw2MCkfZ9LB9gwbo="; 16 }; 17 18 postPatch = '' 19 substituteInPlace src/dune --replace-warn bytes "" 20 ''; 21 22 minimalOCamlVersion = "4.12"; 23 24 meta = with lib; { 25 homepage = "https://github.com/savonet/ocaml-cry"; 26 description = "OCaml client for the various icecast & shoutcast source protocols"; 27 license = licenses.gpl2Plus; 28 maintainers = with maintainers; [ dandellion ]; 29 }; 30}