depot/third_party/nixpkgs/pkgs/development/ocaml-modules/cry/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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 ];
};
}