depot/third_party/nixpkgs/pkgs/development/ocaml-modules/cry/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

26 lines
641 B
Nix

{ lib, buildDunePackage, fetchFromGitHub }:
buildDunePackage rec {
pname = "cry";
version = "1.0.1";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-cry";
rev = "v${version}";
sha256 = "sha256-wn9hLqbydzFTdYsJ1e76dmDLtwcZ7CGjbzFe5o9veYQ=";
};
postPatch = ''
substituteInPlace src/dune --replace 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 ];
};
}