mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
32 lines
656 B
Nix
32 lines
656 B
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
dune-configurator,
|
|
libogg,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "ogg";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "savonet";
|
|
repo = "ocaml-xiph";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-mVMuPPjQRfwtQqpoUaEtTilMcGO0MJ4xiOd0D7ucOEQ=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
propagatedBuildInputs = [ libogg ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/savonet/ocaml-ogg";
|
|
description = "Bindings to libogg";
|
|
license = lib.licenses.lgpl21Only;
|
|
maintainers = with lib.maintainers; [ dandellion ];
|
|
};
|
|
})
|