nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 dune-configurator,
6 libogg,
7}:
8
9buildDunePackage rec {
10 pname = "ogg";
11 version = "1.0.0";
12
13 src = fetchFromGitHub {
14 owner = "savonet";
15 repo = "ocaml-xiph";
16 tag = "v${version}";
17 hash = "sha256-mVMuPPjQRfwtQqpoUaEtTilMcGO0MJ4xiOd0D7ucOEQ=";
18 };
19
20 minimalOCamlVersion = "4.08";
21
22 buildInputs = [ dune-configurator ];
23 propagatedBuildInputs = [ libogg ];
24
25 meta = {
26 homepage = "https://github.com/savonet/ocaml-ogg";
27 description = "Bindings to libogg";
28 license = lib.licenses.lgpl21Only;
29 maintainers = with lib.maintainers; [ dandellion ];
30 };
31}