Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / alsa / default.nix
blob988ca8280dccae827861f0b09ddf9d4b49002069
1 { lib, buildDunePackage, fetchFromGitHub, dune-configurator, alsa-lib }:
3 buildDunePackage rec {
4   pname = "alsa";
5   version = "0.3.0";
7   minimalOCamlVersion = "4.02";
9   src = fetchFromGitHub {
10     owner = "savonet";
11     repo = "ocaml-alsa";
12     rev = version;
13     sha256 = "1qy22g73qc311rmv41w005rdlj5mfnn4yj1dx1jhqzr31zixl8hj";
14   };
16   buildInputs = [ dune-configurator ];
17   propagatedBuildInputs = [ alsa-lib ];
19   meta = with lib; {
20     homepage = "https://github.com/savonet/ocaml-alsa";
21     description = "OCaml interface for libasound2";
22     license = licenses.gpl2Only;
23     maintainers = with maintainers; [ dandellion ];
24   };