2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "cry";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.0.1";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "savonet";
|
|
|
|
repo = "ocaml-cry";
|
|
|
|
rev = "v${version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-wn9hLqbydzFTdYsJ1e76dmDLtwcZ7CGjbzFe5o9veYQ=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/dune --replace bytes ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
minimalOCamlVersion = "4.12";
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|