Files
nixpkgs/pkgs/development/ocaml-modules/cry/default.nix
2026-01-31 14:37:06 +00:00

31 lines
670 B
Nix

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