587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
26 lines
644 B
Nix
26 lines
644 B
Nix
{ 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 ];
|
|
};
|
|
}
|