3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.alsa: init at 3.0.0

This commit is contained in:
Daniel Olsen 2021-10-08 01:31:47 +02:00 committed by Vincent Laporte
parent a84bcf38c8
commit e5b2c5f447
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildDunePackage, fetchFromGitHub, dune-configurator, alsa-lib }:
buildDunePackage rec {
pname = "alsa";
version = "0.3.0";
minimalOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-alsa";
rev = version;
sha256 = "1qy22g73qc311rmv41w005rdlj5mfnn4yj1dx1jhqzr31zixl8hj";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [ alsa-lib ];
meta = with lib; {
homepage = "https://github.com/savonet/ocaml-alsa";
description = "OCaml interface for libasound2";
license = licenses.gpl2Only;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -24,6 +24,8 @@ let
alcotest-mirage = callPackage ../development/ocaml-modules/alcotest/mirage.nix {};
alsa = callPackage ../development/ocaml-modules/alsa { };
angstrom = callPackage ../development/ocaml-modules/angstrom { };
angstrom-async = callPackage ../development/ocaml-modules/angstrom-async { };